File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
driver-sync/src/test/functional/com/mongodb/client Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 34
34
import static com .mongodb .ClusterFixture .isSharded ;
35
35
import static com .mongodb .ClusterFixture .serverVersionAtLeast ;
36
36
import static org .junit .Assert .assertTrue ;
37
+ import static org .junit .Assume .assumeNotNull ;
37
38
import static org .junit .Assume .assumeTrue ;
38
39
39
40
// See https://github.com/mongodb/specifications/blob/master/source/transactions/tests/README.rst#mongos-pinning-prose-tests
@@ -44,6 +45,8 @@ public class TransactionProseTest {
44
45
@ Before
45
46
public void setUp () {
46
47
assumeTrue (canRunTests ());
48
+ assumeNotNull (getMultiMongosConnectionString ());
49
+
47
50
MongoClientSettings .Builder builder = MongoClientSettings .builder ()
48
51
.applyConnectionString (getMultiMongosConnectionString ());
49
52
You can’t perform that action at this time.
0 commit comments