-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gmail.msgGet
gets called without msgId
#5050
Comments
Not sure what the reason for this is, possibly some bug, but regarding timeout -- what I see is |
Let me have a look at this particular issue |
This url |
@sosnovsky Can we find out which test caused this hook to fail? |
or we should catch it and re-throw |
Gmail.msgGet
gets called without msgId
Real Gmail API returns list of messages when
Probably we can use debug info from semaphore for checking which test caused this fail - debug file But for this case I think we should just update Gmail mock API to not throw error when there is no |
@rrrooommmaaa have you worked on this task? As it seems tests currently failing mostly because of this issue |
As far as I know, the extension never deliberately tries to get a list of messages with this call, so this must be a bug. We can make a temporary support of this operation as part of PR #5053, and leave this issue to be researched and fixed separately. The aim of the mock API is not to mimick Gmail API in full, but to warn us about suspicious calls. |
Yeah, I think so, but haven't noticed any code changes which can lead to this call.
I'm not 100% sure that this fix will make tests work, it's just my assumption, but we should try to implement it or another temporary solution to make tests pass. |
This particular bug isn't causing timeouts, is it? Timeout failure is supposed to be fixed with #5053 |
As I remember tests were still failing in #5053, but let's see if they'll pass with your latest commit there |
Hi @ioanmo226, I didn't notice such test errors recently, looks like it was fixed and we can close this one? |
Tests sometimes timeout with below error
Sample: https://flowcrypt.semaphoreci.com/jobs/11f93653-f3fb-487c-bb27-89df408c2681
The text was updated successfully, but these errors were encountered: