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 35
35
import static com .mongodb .ClusterFixture .isSharded ;
36
36
import static com .mongodb .ClusterFixture .serverVersionAtLeast ;
37
37
import static org .junit .Assert .assertTrue ;
38
+ import static org .junit .Assume .assumeNotNull ;
38
39
import static org .junit .Assume .assumeTrue ;
39
40
40
41
// See https://github.com/mongodb/specifications/blob/master/source/transactions/tests/README.rst#mongos-pinning-prose-tests
@@ -45,6 +46,8 @@ public class TransactionProseTest {
45
46
@ Before
46
47
public void setUp () {
47
48
assumeTrue (canRunTests ());
49
+ assumeNotNull (getMultiMongosConnectionString ());
50
+
48
51
MongoClientSettings .Builder builder = MongoClientSettings .builder ()
49
52
.applyConnectionString (getMultiMongosConnectionString ());
50
53
if (System .getProperty ("java.version" ).startsWith ("1.6." )) {
You can’t perform that action at this time.
0 commit comments