Skip to content

test(auth): Unflake re_auth_failure - #1531

Merged
jjbayer merged 2 commits into
masterfrom
test/re-auth-failure
Oct 25, 2022
Merged

jjbayer merged 2 commits into
masterfrom
test/re-auth-failure

Conversation

@jjbayer

@jjbayer jjbayer commented Oct 17, 2022 •

Copy link
Copy Markdown
Member

It seems that in test_re_auth_failure, Relay was able to process a new event before it changed its auth_state from Registered to Registering. The integration test waits for the sentry side to handle the failing auth request, but not for the Relay side to handle the failing auth response.

#skip-changelog

@jjbayer jjbayer changed the title test: Print event that did not raise test(auth): Unflake re_auth_failure Oct 24, 2022
@jjbayer
jjbayer force-pushed the test/re-auth-failure branch from fb5f05f to 3bb2786 Compare October 25, 2022 06:36
@jjbayer
jjbayer marked this pull request as ready for review October 25, 2022 06:48
@jjbayer
jjbayer requested a review from a team October 25, 2022 06:48
assert auth_count_2 < auth_count_3

# Give Relay some time to process the auth response and mark itself as ready
sleep(0.1)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@jjbayer
jjbayer merged commit 2a5eb57 into master Oct 25, 2022
@jjbayer
jjbayer deleted the test/re-auth-failure branch October 25, 2022 07:39
jan-auer added a commit that referenced this pull request Oct 25, 2022
* master:
  release: 0.8.15
  fix(py): Respect the renormalize flag (#1548)
  (fix)e2e: Use report self hosted issues env variable (#1539)
  meta(vscode): Enable all features in Rust-Analyzer (#1542)
  release: 0.8.14
  build(craft): Fix manylinux artifact name (#1547)
  feat(quotas): New data category for indexed transactions (#1535)
  test(auth): Unflake re_auth_failure (#1531)
  replays: add warning log for parse errors (#1534)
  fix(server): Retain valid cached project states on error (#1426)
  feat(protocol): Implement response context schema (#1529)
  feat(replays): emit org_id on recording kafka messages (#1528)
  feat: Add .NET/Portable-PDB specific protocol fields (#1518)
  feat(quotas): Enforce rate limits on metrics buckets (#1515)
  ref(pii): Consider all token as sensitive [INGEST-1550] (#1527)
  release: 22.10.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants