File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
driver-async/src/test/functional/com/mongodb/async/client Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory
2323import com.mongodb.connection.netty.NettyStreamFactoryFactory
2424import spock.lang.IgnoreIf
2525
26+ import static com.mongodb.ClusterFixture.getSslSettings
2627import static java.util.concurrent.TimeUnit.MILLISECONDS
2728
2829class MongoClientsSpecification extends FunctionalSpecification {
@@ -95,7 +96,7 @@ class MongoClientsSpecification extends FunctionalSpecification {
9596 client?. close()
9697 }
9798
98- @IgnoreIf ({ javaVersion < 1.7 })
99+ @IgnoreIf ({ javaVersion < 1.7 || getSslSettings().isEnabled() })
99100 def ' should apply connection string to nio2 stream type' () {
100101 when :
101102 def client = MongoClients . create(' mongodb://localhost/?streamType=NIO2' )
You can’t perform that action at this time.
0 commit comments