Skip to content

[bug:tests] Flaky test: TestWifiClient.test_store_result #649

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

Open
nemesifier opened this issue Mar 13, 2025 · 0 comments
Open

[bug:tests] Flaky test: TestWifiClient.test_store_result #649

nemesifier opened this issue Mar 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@nemesifier
Copy link
Member

Another flaky test is showing up randomly in the CI build:

FAIL: test_store_result (openwisp_monitoring.check.tests.test_wifi_client.TestWifiClient)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/openwisp-monitoring/openwisp-monitoring/openwisp_monitoring/check/tests/test_wifi_client.py", line 63, in test_store_result
    self.assertEqual(result, {'wifi_clients_min': 3, 'wifi_clients_max': 3})
AssertionError: {'wifi_clients_min': 0, 'wifi_clients_max': 3} != {'wifi_clients_min': 3, 'wifi_clients_max': 3}
- {'wifi_clients_max': 3, 'wifi_clients_min': 0}
?                                             ^

+ {'wifi_clients_max': 3, 'wifi_clients_min': 3}
?                                             ^
@nemesifier nemesifier added the bug Something isn't working label Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant