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

Intermittent failures in test_start_with_callback #3

Open
jaraco opened this issue Oct 30, 2017 · 0 comments
Open

Intermittent failures in test_start_with_callback #3

jaraco opened this issue Oct 30, 2017 · 0 comments
Labels

Comments

@jaraco
Copy link
Member

jaraco commented Oct 30, 2017

As observed in this job, some test runs will fail with

======================================================================
FAIL: test_start_with_callback (magicbus.test.test_processbus.BusMethodTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/cherrypy/magicbus/magicbus/test/test_processbus.py", line 273, in test_start_with_callback
    self.assertEqual(events, ['g', ('f', (1, 3, 5), {'foo': 'bar'})])
AssertionError: Lists differ: [('f', (1, 3, 5), {'foo': 'bar... != ['g', ('f', (1, 3, 5), {'foo':...

First differing element 0:
('f', (1, 3, 5), {'foo': 'bar'})
'g'

- [('f', (1, 3, 5), {'foo': 'bar'}), 'g']
?                                  -----

+ ['g', ('f', (1, 3, 5), {'foo': 'bar'})]
?  +++++
----------------------------------------------------------------------

Other times, the test passes just fine. I observed the same behavior on macOS. Likely there's some structure that's dependent on dict or set ordering.

@webknjaz webknjaz added the bug label Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants