add some more slack to one of the unit tests

This commit is contained in:
arvidn 2015-11-08 16:26:58 -05:00
parent 4814855933
commit 0c435b42b2
1 changed files with 2 additions and 2 deletions

View File

@ -234,8 +234,8 @@ void test_swarm(int flags)
time_point end = clock_type::now();
fprintf(stderr, "time: %d ms\n", int(total_milliseconds(end - start)));
TEST_CHECK(end - start < seconds(3));
TEST_CHECK(end - start >= seconds(2));
TEST_CHECK(end - start < milliseconds(3000));
TEST_CHECK(end - start > milliseconds(1900));
TEST_CHECK(!exists("tmp1_swarm/temporary"));
TEST_CHECK(!exists("tmp2_swarm/temporary"));