Race condition in ConsoleOutputTest.test_get_console_output
Bug #1017932 reported by
David Kranz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
High
|
David Kranz |
Bug Description
This test waits for a server to become ACTIVE and immediatly asks for 10 lines of console output. It fails if 10 lines are not returned. This test consistently fails for me but succeeds if I make it sleep for a few seconds before requesting the console.
Fixing this by sleeping doesn not seem very robust. It should wait with timeout like waiting for a server state does.
Changed in tempest: | |
assignee: | nobody → David Kranz (david-kranz) |
status: | New → In Progress |
Changed in tempest: | |
importance: | Undecided → High |
Changed in tempest: | |
status: | Fix Committed → Fix Released |
Changed in tempest: | |
milestone: | none → havana-3 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/8999 github. com/openstack/ tempest/ commit/ cf0040ca02614db c63905de9be18b4 355d74dcbc
Committed: http://
Submitter: Jenkins
Branch: master
commit cf0040ca02614db c63905de9be18b4 355d74dcbc
Author: David Kranz <email address hidden>
Date: Tue Jun 26 09:46:56 2012 -0400
Add BaseComputeTest .wait_for and use it to fix bug 1017932.
Change-Id: I3c197f098591f8 27200f333dc4efe 3aa816ef8b1