From 2a383afb47d4d964c4fa9357afacaaa7f5736e17 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 2 May 2017 14:22:48 +0200 Subject: [PATCH] Increased tolerance of test. --- test/unit/session_collections_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/session_collections_test.rb b/test/unit/session_collections_test.rb index ed9e45c2b..397fec68c 100644 --- a/test/unit/session_collections_test.rb +++ b/test/unit/session_collections_test.rb @@ -187,19 +187,19 @@ class SessionCollectionsTest < ActiveSupport::TestCase assert(agent1.save, 'create/update agent1') assets = {} - client1 = Sessions::Backend::Collections::Group.new(agent1, assets, false, '123-1', 2) + client1 = Sessions::Backend::Collections::Group.new(agent1, assets, false, '123-1', 4) data = client1.push assert(data[:collection][:Group][groups.first.id]) assert(data[:assets][:Group][groups.first.id]) travel 10.seconds - client1 = Sessions::Backend::Collections::Group.new(agent1, assets, false, '123-1', 2) + client1 = Sessions::Backend::Collections::Group.new(agent1, assets, false, '123-1', 4) data = client1.push assert(data[:collection][:Group][groups.first.id]) assert(data[:assets][:Group][groups.first.id]) travel 2.minutes - client1 = Sessions::Backend::Collections::Group.new(agent1, assets, false, '123-1', 2) + client1 = Sessions::Backend::Collections::Group.new(agent1, assets, false, '123-1', 4) data = client1.push assert(data[:collection][:Group][groups.first.id]) assert_nil(data[:assets][:Group])