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

streambase.py test fails sometimes #55

Open
Jajcus opened this issue Jul 2, 2011 · 0 comments
Open

streambase.py test fails sometimes #55

Jajcus opened this issue Jul 2, 2011 · 0 comments

Comments

@Jajcus
Copy link
Owner

Jajcus commented Jul 2, 2011

The 'test_connect_close' test from tests/streambase.py fails sometimes, especially when started via 'all.py':

$ ./all.py
...............................................................F.....F.....F........................
======================================================================
FAIL: test_connect_close (streambase.TestInitiatorSelect)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/users/jajcus/git/pyxmpp2/tests/streambase.py", line 70, in test_connect_close
    ConnectedEvent, DisconnectedEvent])
AssertionError: Lists differ: [<class 'pyxmpp2.streamevents.... != [<class 'pyxmpp2.streamevents....

First differing element 1:
<class 'pyxmpp2.streamevents.DisconnectedEvent'>
<class 'pyxmpp2.streamevents.ConnectedEvent'>

Second list contains 1 additional elements.
First extra element 2:
<class 'pyxmpp2.streamevents.DisconnectedEvent'>

  [<class 'pyxmpp2.streamevents.ConnectingEvent'>,
+  <class 'pyxmpp2.streamevents.ConnectedEvent'>,
   <class 'pyxmpp2.streamevents.DisconnectedEvent'>]

======================================================================
FAIL: test_connect_close (streambase.TestInitiatorPoll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/users/jajcus/git/pyxmpp2/tests/streambase.py", line 70, in test_connect_close
    ConnectedEvent, DisconnectedEvent])
AssertionError: Lists differ: [<class 'pyxmpp2.streamevents.... != [<class 'pyxmpp2.streamevents....

First differing element 1:
<class 'pyxmpp2.streamevents.DisconnectedEvent'>
<class 'pyxmpp2.streamevents.ConnectedEvent'>

Second list contains 1 additional elements.
First extra element 2:
<class 'pyxmpp2.streamevents.DisconnectedEvent'>

  [<class 'pyxmpp2.streamevents.ConnectingEvent'>,
+  <class 'pyxmpp2.streamevents.ConnectedEvent'>,
   <class 'pyxmpp2.streamevents.DisconnectedEvent'>]

======================================================================
FAIL: test_connect_close (streambase.TestInitiatorThreaded)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/users/jajcus/git/pyxmpp2/tests/streambase.py", line 70, in test_connect_close
    ConnectedEvent, DisconnectedEvent])
AssertionError: Lists differ: [<class 'pyxmpp2.streamevents.... != [<class 'pyxmpp2.streamevents....

First differing element 1:
<class 'pyxmpp2.streamevents.DisconnectedEvent'>
<class 'pyxmpp2.streamevents.ConnectedEvent'>

Second list contains 1 additional elements.
First extra element 2:
<class 'pyxmpp2.streamevents.DisconnectedEvent'>

  [<class 'pyxmpp2.streamevents.ConnectingEvent'>,
+  <class 'pyxmpp2.streamevents.ConnectedEvent'>,
   <class 'pyxmpp2.streamevents.DisconnectedEvent'>]

----------------------------------------------------------------------
Ran 100 tests in 35.134s

FAILED (failures=3)
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

1 participant