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 3535import static com .mongodb .ClusterFixture .isSharded ;
3636import static com .mongodb .ClusterFixture .serverVersionAtLeast ;
3737import static org .junit .Assert .assertTrue ;
38+ import static org .junit .Assume .assumeNotNull ;
3839import static org .junit .Assume .assumeTrue ;
3940
4041// See https://github.com/mongodb/specifications/blob/master/source/transactions/tests/README.rst#mongos-pinning-prose-tests
@@ -45,6 +46,8 @@ public class TransactionProseTest {
4546 @ Before
4647 public void setUp () {
4748 assumeTrue (canRunTests ());
49+ assumeNotNull (getMultiMongosConnectionString ());
50+
4851 MongoClientSettings .Builder builder = MongoClientSettings .builder ()
4952 .applyConnectionString (getMultiMongosConnectionString ());
5053 if (System .getProperty ("java.version" ).startsWith ("1.6." )) {
You can’t perform that action at this time.
0 commit comments