Tests are slower than before

Bug #770393 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Fix Released
Medium
Alejandro J. Cura

Bug Description

Tests from trunk:
Ran 488 tests in 129.883s

From stable-1-0:
Ran 355 tests in 19.947s

Seems like the test_close_* are taking a lot.

Related branches

Changed in ubuntu-sso-client:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Manuel de la Pena (mandel)
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Tests that are visibly pausing/delaying execution are:

test_cancel_buttons_close_window
test_closing_main_window
test_captcha_image_is_removed_when_exiting
VerifyEmailLoginOnlyTestCase.test_on_finish_close_button_clicked_closes_window
VerifyEmailTestCase.test_on_finish_close_button_clicked_closes_window

Oddly, when run in isolation, they run pretty fast:

xvfb-run u1trial -t test_.*_clos -i "test_windows.py, test_qt_views.py" ubuntu_sso/
Xlib: extension "RANDR" missing on display ":99".
ubuntu_sso.gtk.tests.test_gui
  BasicUbuntuSSOClientTestCase
    test_cancel_buttons_close_window ... [OK]
    test_close_callback_if_not_set ... [OK]
    test_closing_main_window_calls_close_callback ... [OK]
  CallbacksTestCase
    test_closing_main_window ... [OK]
  VerifyEmailLoginOnlyTestCase
    test_on_finish_close_button_clicked_closes_window ... [OK]
  VerifyEmailTestCase
    test_on_finish_close_button_clicked_closes_window ... [OK]

-------------------------------------------------------------------------------
Ran 6 tests in 0.545s

Changed in ubuntu-sso-client:
assignee: Manuel de la Pena (mandel) → Alejandro J. Cura (alecu)
status: Triaged → In Progress
Changed in ubuntu-sso-client:
status: In Progress → Fix Committed
dobey (dobey)
Changed in ubuntu-sso-client:
milestone: none → 1.3.1
milestone: 1.3.1 → none
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.