• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

01org / iris-panel / 6
83%

Build:
DEFAULT BRANCH: master
Ran 11 Aug 2014 08:59AM UTC
Jobs 1
Files 78
Run time 33s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6

push

travis-ci

117111302
Shutdown webdirve before parent's teardownClass()

In tearDownClass() function, webdirver should shutdown at
first and then close the display, finally to call parent's
tearDownClass() logic.

By doing this, the follow RuntimeError can be avoid.

ERROR: test suite for <class 'iris.core.tests.test_firefox_login.FirefoxLoginTest'>
----------------------------------------------------------------------
Traceback (most recent call last):
  File "site-packages/nose/suite.py", line 227, in run
    self.tearDown()
  File "site-packages/nose/suite.py", line 350, in tearDown
    self.teardownContext(ancestor)
  File "site-packages/nose/suite.py", line 366, in teardownContext
    try_run(context, names)
  File "site-packages/nose/util.py", line 470, in try_run
    return func()
  File "iris/core/tests/test_firefox_login.py", line 41, in tearDownClass
    super(FirefoxLoginTest, cls).tearDownClass()
  File "site-packages/django/test/testcases.py", line 1207, in tearDownClass
    cls._tearDownClassInternal()
  File "site-packages/django/test/testcases.py", line 1197, in _tearDownClassInternal
    cls.server_thread.join()
  File "site-packages/django/test/testcases.py", line 1118, in join
    self.httpd.shutdown()
  File "site-packages/django/test/testcases.py", line 1010, in shutdown
    "Failed to shutdown the live test server in 2 seconds. The "
RuntimeError: Failed to shutdown the live test server in 2 seconds. The server might be stuck or generating a slow response.

Also move parent's setUpClass() to the bottom, since the example
code given by Django's official document puts this line at the
last of setUpClass() function.

Change-Id: I6f68ac294

1999 of 2800 relevant lines covered (71.39%)

0.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6.1 11 Aug 2014 08:59AM UTC 0
71.39
Travis Job 6.1
Source Files on build 6
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6
  • 40b09861 on github
  • Prev Build on master (#5)
  • Next Build on master (#7)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc