aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-09-19 09:46:09 +0200
committerHenning Baldersheim <balder@oath.com>2018-09-19 09:46:09 +0200
commit6b6c8379c6da92caf7439872e024f145f0c5e360 (patch)
treebdb679ae60f21d5432afbfc3f54276c4fcf113be /searchcore
parent4d6acff9649baf0f7ed8468624b181fcbf3ffeb7 (diff)
Must wait longer than stats update interval.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp2
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());