Skip to content
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

Fix unstable AuthenticationRepository_Tests.test_reset() #3526

Merged

Conversation

laevandus
Copy link
Contributor

🎯 Goal

Fix unstable AuthenticationRepository_Tests.test_reset() where the reset internally uses tokenQueue.async call to set the resetConsecutiveFailures state, checking for isGettingToken just schedules tokenQueue.sync internally and therefore fixes the timing issue

☑️ Contributor Checklist

  • I have signed the Stream CLA (required)
  • This change should be manually QAed
  • Changelog is updated with client-facing changes
  • Changelog is updated with new localization keys
  • New code is covered by unit tests
  • Comparison screenshots added for visual changes
  • Affected documentation updated (docusaurus, tutorial, CMS)

…set internally uses async call to set the resetConsecutiveFailures state, checking for isGettingToken just schedules tokenQueue.sync internally and therefore fixes the timing issue
@laevandus laevandus added the 🤖 CI/CD Any work related to CI/CD label Dec 6, 2024
@laevandus laevandus requested a review from a team as a code owner December 6, 2024 08:26
Copy link

sonarcloud bot commented Dec 6, 2024

@laevandus laevandus merged commit 01b961f into develop Dec 6, 2024
15 checks passed
@laevandus laevandus deleted the ci/unstable-authentication-repository-tests-reset branch December 6, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 CI/CD Any work related to CI/CD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants