summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/record_store_test_randomiter.cpp
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2015-08-27 17:52:18 -0400
committerGeert Bosch <geert@mongodb.com>2015-08-28 15:14:02 -0400
commiteb9054134519cc62676febf7f44ca103fe0208be (patch)
tree2a284d5c04669819df66cfdd253302673ad8208c /src/mongo/db/storage/record_store_test_randomiter.cpp
parent7e3f91fb2c5b24c447726fcc63766e21a90e1650 (diff)
downloadmongo-eb9054134519cc62676febf7f44ca103fe0208be.tar.gz
SERVER-19183: Enable minimal randomness check now WT-2032 is fixed
Diffstat (limited to 'src/mongo/db/storage/record_store_test_randomiter.cpp')
-rw-r--r--src/mongo/db/storage/record_store_test_randomiter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/record_store_test_randomiter.cpp b/src/mongo/db/storage/record_store_test_randomiter.cpp
index e26190022c1..f98c487996a 100644
--- a/src/mongo/db/storage/record_store_test_randomiter.cpp
+++ b/src/mongo/db/storage/record_store_test_randomiter.cpp
@@ -119,8 +119,8 @@ TEST(RecordStoreTestHarness, GetRandomIteratorNonEmpty) {
ASSERT(cursor->next());
// We should have at least visited a quarter of the items if we're any random at all
- // This should be enabled once the fix for WT-2032 is integrated:
- // ASSERT_LT(remain.size(), nToInsert * 3 / 4);
+ // The expected fraction of visited records is 62.3%.
+ ASSERT_LT(remain.size(), nToInsert * 3 / 4);
}
}