summaryrefslogtreecommitdiff
path: root/src/mongo/util/interruptible_test.cpp
diff options
context:
space:
mode:
authorAmirsaman Memaripour <amirsaman.memaripour@mongodb.com>2021-07-29 20:45:45 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-29 21:56:42 +0000
commite18f818e60dd1a99ae3acc2610f91dc2ec99b6b8 (patch)
tree70b27167d2b7ddf9030a14b38c19d8a87bfff10d /src/mongo/util/interruptible_test.cpp
parent9f4f535b93cd6ee648ed80b6d9b6603575db4332 (diff)
downloadmongo-e18f818e60dd1a99ae3acc2610f91dc2ec99b6b8.tar.gz
SERVER-58958 Temporarily disable `Interruptible::WaitUntilDeadline` test
Diffstat (limited to 'src/mongo/util/interruptible_test.cpp')
-rw-r--r--src/mongo/util/interruptible_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/util/interruptible_test.cpp b/src/mongo/util/interruptible_test.cpp
index ff4f03ec6ca..af8ceee60e8 100644
--- a/src/mongo/util/interruptible_test.cpp
+++ b/src/mongo/util/interruptible_test.cpp
@@ -70,6 +70,8 @@ public:
static constexpr auto kPrecision = Milliseconds(5);
};
+/*
+ * TODO SERVER-58959: fix and enable the test.
TEST(Interruptible, WaitUntilDeadline) {
auto interruptible = std::make_unique<DummyInterruptible>();
const auto sleepFor = Milliseconds(500);
@@ -87,6 +89,7 @@ TEST(Interruptible, WaitUntilDeadline) {
ASSERT_LTE(end, deadline + DummyInterruptible::kPrecision);
ASSERT_FALSE(interruptible->isWaitingForConditionOrInterrupt());
}
+*/
} // namespace
} // namespace mongo