summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/range_deletion_util_test.cpp
diff options
context:
space:
mode:
authorMatthew Saltz <matthew.saltz@mongodb.com>2020-01-31 15:18:40 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-01-31 21:09:37 +0000
commita9aab7d9449cff5cd7e17b8221e700dc041da2c1 (patch)
treec8c70e465c41cdef22c99fdec9d18acc40889c8c /src/mongo/db/s/range_deletion_util_test.cpp
parentc5a53e4882bd316dcb37141ccfab56f5acaec8f4 (diff)
downloadmongo-a9aab7d9449cff5cd7e17b8221e700dc041da2c1.tar.gz
SERVER-45914 Make DEATH_TEST in range_deletion_util_test wait for future
Diffstat (limited to 'src/mongo/db/s/range_deletion_util_test.cpp')
-rw-r--r--src/mongo/db/s/range_deletion_util_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/s/range_deletion_util_test.cpp b/src/mongo/db/s/range_deletion_util_test.cpp
index 83c3da0d45a..0be0463d145 100644
--- a/src/mongo/db/s/range_deletion_util_test.cpp
+++ b/src/mongo/db/s/range_deletion_util_test.cpp
@@ -735,6 +735,7 @@ DEATH_TEST_F(RangeDeleterTest, RemoveDocumentsInRangeCrashesIfInputFutureHasErro
// Should cause an invariant failure.
queriesCompletePf.promise.setError(Status(ErrorCodes::InternalError, "Some unexpected error"));
+ cleanupComplete.get();
}
} // namespace