Bug 22795

Summary: jingle/google-relay.py is secretly made of cheese
Product: Telepathy Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Guillaume Desmottes 2009-07-16 05:37:59 UTC
To reproduce:
- Disable all the tests in jingle/google-relay.py but the 2 firsts
- The test works fine
- Now disable the first one (so only the second test will be executed)
- Test fail:

Temporary bus daemon is unix:abstract=/tmp/dbus-jGEbNkk0yj,guid=c12679d2da611a2d8a91dbe94a5f1f1b
Temporary bus daemon PID is 32658
localhost - - [16/Jul/2009 13:37:48] "GET /create_session HTTP/1.1" 200 -
localhost - - [16/Jul/2009 13:37:48] "GET /create_session HTTP/1.1" 200 -
Traceback (most recent call last):
  File "/tmp/telepathy-gabble/tests/twisted/gabbletest.py", line 395, in exec_test_deferred
    f(queue, bus, conn, stream)
  File "./jingle/google-relay.py", line 330, in <lambda>
    exec_test(lambda q, b, c, s: test(q, b, c, s, incoming=False),
  File "./jingle/google-relay.py", line 266, in test
    assert ('2', 'udp') in credentials_used
AssertionError
FAIL: jingle/google-relay.py
Comment 1 Dafydd Harries 2009-09-24 10:11:27 UTC
This test is now cheese-free (I removed the global counter).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.