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

test: CI flake in "UpdateMachine.load retries registerQueue on NetworkError" #602

Open
chrisbobbe opened this issue Mar 29, 2024 · 2 comments
Labels
Milestone

Comments

@chrisbobbe
Copy link
Collaborator

Noticed when working on code that's almost definitely unrelated (implementing the web-auth feature):

#600 (comment)

❌ /home/runner/work/zulip-flutter/zulip-flutter/test/model/store_test.dart: UpdateMachine.load retries registerQueue on NetworkError (failed)
  Bad state: Exceeded timeout 1:00:00.000000 while flushing timers
  package:fake_async/fake_async.dart 217:9   FakeAsync.flushTimers.<fn>
  package:fake_async/fake_async.dart 241:21  FakeAsync._fireTimersWhile
  package:fake_async/fake_async.dart 214:5   FakeAsync.flushTimers
  test/fake_async.dart 29:7                  awaitFakeAsync
  test/model/store_test.dart 176:57          main.<fn>.<fn>
@gnprice
Copy link
Member

gnprice commented Mar 29, 2024

Thanks for spotting this. If that indeed also happens in main, then it's a bug in either the test code, or the code under test, so it'd be good to debug and fix.

@chrisbobbe
Copy link
Collaborator Author

chrisbobbe commented Apr 10, 2024

Got this again, this time locally in tools/check, while looking at #587. It didn't appear on a subsequent run.

@gnprice gnprice modified the milestones: B2: pre-summer, Launch May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants