Skip to content

fix(server): flaky library e2e tests - #16174

Merged
jrasm91 merged 1 commit into
mainfrom
fix/flaky-library-e2e
Feb 17, 2025
Merged

jrasm91 merged 1 commit into
mainfrom
fix/flaky-library-e2e

Conversation

@etnoy

@etnoy etnoy commented Feb 17, 2025

Copy link
Copy Markdown
Collaborator
  • fix flaky library e2e tests by ensuring we wait for correct queues
  • refactor library e2e test queue waiting

@etnoy
etnoy force-pushed the fix/flaky-library-e2e branch from 7f0a5d3 to d716e0d Compare February 17, 2025 22:53
@etnoy
etnoy marked this pull request as ready for review February 17, 2025 22:57
Comment thread e2e/src/utils.ts
return key.secret;
},

scan: async (accessToken: string, id: string, wait = false) => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason why we had the scan method in the library spec file itself is because no other test needs that functionality. It's probably fine either way though

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I debated back and forth on this and eventually put it in the utils because I see it being used in other e2e tests soon :)

@jrasm91
jrasm91 merged commit bfdd6ea into main Feb 17, 2025
@jrasm91
jrasm91 deleted the fix/flaky-library-e2e branch February 17, 2025 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants