Fixed travis race condition issue.
This commit is contained in:
parent
3b3a193ef7
commit
1736ac9a70
1 changed files with 1 additions and 0 deletions
|
@ -548,6 +548,7 @@ class TicketOverviewTest < ActiveSupport::TestCase
|
||||||
assert_equal(result[2][:tickets].class, Array)
|
assert_equal(result[2][:tickets].class, Array)
|
||||||
assert(result[2][:tickets].empty?)
|
assert(result[2][:tickets].empty?)
|
||||||
|
|
||||||
|
sleep 1
|
||||||
ticket3 = Ticket.create(
|
ticket3 = Ticket.create(
|
||||||
title: 'overview test 3',
|
title: 'overview test 3',
|
||||||
group: Group.lookup(name: 'OverviewTest'),
|
group: Group.lookup(name: 'OverviewTest'),
|
||||||
|
|
Loading…
Reference in a new issue