From a9aab7d9449cff5cd7e17b8221e700dc041da2c1 Mon Sep 17 00:00:00 2001 From: Matthew Saltz Date: Fri, 31 Jan 2020 15:18:40 -0500 Subject: SERVER-45914 Make DEATH_TEST in range_deletion_util_test wait for future --- src/mongo/db/s/range_deletion_util_test.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mongo') 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 -- cgit v1.2.1