summaryrefslogtreecommitdiff
path: root/src/mongo/util/interruptible_test.cpp
diff options
context:
space:
mode:
authorMatthew Saltz <matthew.saltz@mongodb.com>2020-11-30 22:12:12 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-12-22 21:04:56 +0000
commit251feeb575e30136547175a8d3eed20e023ea39b (patch)
tree921856bf32753c6f0772fce14c7e2efad7d02483 /src/mongo/util/interruptible_test.cpp
parent351ba424951718aeeab0588e7123b80df6f32cd3 (diff)
downloadmongo-251feeb575e30136547175a8d3eed20e023ea39b.tar.gz
SERVER-50660 Integrate CancelationTokens with OperationContext
Diffstat (limited to 'src/mongo/util/interruptible_test.cpp')
-rw-r--r--src/mongo/util/interruptible_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/util/interruptible_test.cpp b/src/mongo/util/interruptible_test.cpp
index be29ccb88a7..5a6de7c4916 100644
--- a/src/mongo/util/interruptible_test.cpp
+++ b/src/mongo/util/interruptible_test.cpp
@@ -41,7 +41,8 @@ class DummyInterruptible final : public Interruptible {
MONGO_UNREACHABLE;
}
Status checkForInterruptNoAssert() noexcept override {
- MONGO_UNREACHABLE;
+ // Must be implemented because it's called by Interruptible::waitForConditionOrInterrupt.
+ return Status::OK();
}
IgnoreInterruptsState pushIgnoreInterrupts() override {
MONGO_UNREACHABLE;