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

Unreliable test for typing notifications #1501

Open
neiljp opened this issue May 17, 2024 · 0 comments
Open

Unreliable test for typing notifications #1501

neiljp opened this issue May 17, 2024 · 0 comments
Labels
area: tests bug Something isn't working help wanted This issue should be clear enough to work on

Comments

@neiljp
Copy link
Collaborator

neiljp commented May 17, 2024

Bug description

Intermittently in PR checks - and occasionally locally - a test will fail for typing notifications. On rerunning the test, it typically passes fine. Hence this is an unreliable (flakey) test.

This appears to be in test_show_typing_notifications, based on connected discussion in the channel.

#zulip-terminal>Flakey test (typing notifications) #T1501

How is the bug triggered?

This can likely only be reproduced by repeated runs in CI or locally.

What did you expect to happen?

Ideally this test passes reproducibly on every occasion.

How are you running the application?

Please include as many of the following as possible:

  • Zulip-terminal version: 0.7.0+git approximately ref 440a3fa
    eg. a specific version (0.7.0), or if running from main also ideally the git ref
  • Zulip server version(s): N/A
    eg. Zulip Cloud, the version you are running self-hosted, or the Zulip Community server (chat.zulip.org)
  • Operating system (and version): Observed locally in Debian, and on GitHub Actions runners
    eg. Debian Linux, Ubuntu Linux, macOS, WSL in Windows, Docker
  • Python version (and implementation): Multiple, possibly more likely with PyPy
    eg. 3.8, 3.9, 3.10, ... (implementation is likely to be eg. CPython, or PyPy)

If possible, please provide details from the About menu: (hotkey: Meta + ?)
(this can provide some of the details above)

@neiljp neiljp added bug Something isn't working area: tests help wanted This issue should be clear enough to work on labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tests bug Something isn't working help wanted This issue should be clear enough to work on
Projects
None yet
Development

No branches or pull requests

1 participant