Fixed travis race condition issue.

This commit is contained in:
Martin Edenhofer 2016-11-30 11:33:38 +01:00
parent 3b3a193ef7
commit 1736ac9a70

View file

@ -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'),