Commit 99645a66 authored by Ryan Herbert's avatar Ryan Herbert

test_sample.rb test_run look at all possibilities

Just in case the job becoes assigned or completed in the time the test
takes to execute itself.
See #3619
parent da20ed7d
Pipeline #49542 failed with stages
in 36 minutes and 57 seconds
...@@ -278,6 +278,7 @@ class TestSample < ServerTest ...@@ -278,6 +278,7 @@ class TestSample < ServerTest
table.wait_until_present table.wait_until_present
lines = table.tbody.rows lines = table.tbody.rows
lines[0].wait_until_present lines[0].wait_until_present
assert(lines[0].td(:text => "QUEUED").present?) l = lines[0]
assert( => "QUEUED").present? or => "ASSIGNED") or => "COMPLETED"))
end end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment