summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/internal_transactions_test_command.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/internal_transactions_test_command.h')
-rw-r--r--src/mongo/s/commands/internal_transactions_test_command.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/s/commands/internal_transactions_test_command.h b/src/mongo/s/commands/internal_transactions_test_command.h
index 48f2b94b4dd..bbbea80de38 100644
--- a/src/mongo/s/commands/internal_transactions_test_command.h
+++ b/src/mongo/s/commands/internal_transactions_test_command.h
@@ -172,6 +172,14 @@ public:
BasicCommand::AllowedOnSecondary secondaryAllowed(ServiceContext*) const override {
return BasicCommand::AllowedOnSecondary::kNever;
}
+
+ bool supportsRetryableWrite() const final {
+ return true;
+ }
+
+ bool allowedInTransactions() const final {
+ return true;
+ }
};
} // namespace mongo