diff options
author | Matthew Saltz <matthew.saltz@mongodb.com> | 2020-01-31 15:18:40 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-01-31 21:09:37 +0000 |
commit | a9aab7d9449cff5cd7e17b8221e700dc041da2c1 (patch) | |
tree | c8c70e465c41cdef22c99fdec9d18acc40889c8c /src/mongo/db | |
parent | c5a53e4882bd316dcb37141ccfab56f5acaec8f4 (diff) | |
download | mongo-a9aab7d9449cff5cd7e17b8221e700dc041da2c1.tar.gz |
SERVER-45914 Make DEATH_TEST in range_deletion_util_test wait for future
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/s/range_deletion_util_test.cpp | 1 |
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 |