Tests are slower than before
Bug #770393 reported by
Natalia Bidart
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
lp:~alecu/ubuntu-sso-client/eel-troubles
- Natalia Bidart (community): Approve
- dobey (community): Approve
-
Diff: 25 lines (+4/-0)2 files modifiedrun-tests (+2/-0)
ubuntu_sso/gtk/tests/test_gui.py (+2/-0)
Changed in ubuntu-sso-client: | |
importance: | Undecided → Medium |
status: | New → Triaged |
assignee: | nobody → Manuel de la Pena (mandel) |
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 |
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.
Tests that are visibly pausing/delaying execution are:
test_cancel_ buttons_ close_window main_window image_is_ removed_ when_exiting nOnlyTestCase. test_on_ finish_ close_button_ clicked_ closes_ window Case.test_ on_finish_ close_button_ clicked_ closes_ window
test_closing_
test_captcha_
VerifyEmailLogi
VerifyEmailTest
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/ sso.gtk. tests.test_ gui OClientTestCase cancel_ buttons_ close_window ... [OK] close_callback_ if_not_ set ... [OK] closing_ main_window_ calls_close_ callback ... [OK] closing_ main_window ... [OK] ginOnlyTestCase on_finish_ close_button_ clicked_ closes_ window ... [OK] stCase on_finish_ close_button_ clicked_ closes_ window ... [OK]
Xlib: extension "RANDR" missing on display ":99".
ubuntu_
BasicUbuntuSS
test_
test_
test_
CallbacksTestCase
test_
VerifyEmailLo
test_
VerifyEmailTe
test_
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
Ran 6 tests in 0.545s