File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ test_transactions_supported (void *ctx)
55
55
bson_error_t error ;
56
56
bool r ;
57
57
58
+ if (test_framework_is_mongos ()) {
59
+ return ;
60
+ }
61
+
58
62
supported = test_framework_max_wire_version_at_least (7 ) &&
59
63
test_framework_is_replset ();
60
64
client = test_framework_client_new ();
@@ -119,11 +123,13 @@ test_transactions_install (TestSuite *suite)
119
123
test_framework_skip_if_not_replset ,
120
124
test_framework_skip_if_max_wire_version_less_than_7 );
121
125
126
+ /* skip mongos for now - txn support coming in 4.1.0 */
122
127
TestSuite_AddFull (suite ,
123
128
"/transactions/supported" ,
124
129
test_transactions_supported ,
125
130
NULL ,
126
131
NULL ,
127
132
test_framework_skip_if_no_sessions ,
128
- test_framework_skip_if_no_crypto );
133
+ test_framework_skip_if_no_crypto ,
134
+ test_framework_skip_if_mongos );
129
135
}
You can’t perform that action at this time.
0 commit comments