From 1736ac9a70f614df12cea693a802ef72ed056e08 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 30 Nov 2016 11:33:38 +0100 Subject: [PATCH] Fixed travis race condition issue. --- test/unit/ticket_overview_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/ticket_overview_test.rb b/test/unit/ticket_overview_test.rb index 44476dd4b..c31952e26 100644 --- a/test/unit/ticket_overview_test.rb +++ b/test/unit/ticket_overview_test.rb @@ -548,6 +548,7 @@ class TicketOverviewTest < ActiveSupport::TestCase assert_equal(result[2][:tickets].class, Array) assert(result[2][:tickets].empty?) + sleep 1 ticket3 = Ticket.create( title: 'overview test 3', group: Group.lookup(name: 'OverviewTest'),