diff options
author | Henning Baldersheim <balder@oath.com> | 2018-09-19 09:46:09 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-09-19 09:46:09 +0200 |
commit | 6b6c8379c6da92caf7439872e024f145f0c5e360 (patch) | |
tree | bdb679ae60f21d5432afbfc3f54276c4fcf113be /searchcore | |
parent | 4d6acff9649baf0f7ed8468624b181fcbf3ffeb7 (diff) |
Must wait longer than stats update interval.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp b/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp index 835e37d4114..efdbb3b1991 100644 --- a/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp +++ b/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp @@ -667,7 +667,7 @@ TEST("requireThatStatsAreUpdated") EXPECT_GREATER(lastAllocated, perGidUsed); EXPECT_GREATER(lastUsed, perGidUsed); - std::this_thread::sleep_for(2200ms); + std::this_thread::sleep_for(6000ms); addGid(dms, gid1, bucketId1, time1); EXPECT_EQUAL(2u, dms.getStatus().getNumDocs()); EXPECT_EQUAL(2u, dms.getStatus().getNumValues()); |