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
23
23
import com.mongodb.connection.netty.NettyStreamFactoryFactory
24
24
import spock.lang.IgnoreIf
25
25
26
+ import static com.mongodb.ClusterFixture.getSslSettings
26
27
import static java.util.concurrent.TimeUnit.MILLISECONDS
27
28
28
29
class MongoClientsSpecification extends FunctionalSpecification {
@@ -95,7 +96,7 @@ class MongoClientsSpecification extends FunctionalSpecification {
95
96
client?. close()
96
97
}
97
98
98
- @IgnoreIf ({ javaVersion < 1.7 })
99
+ @IgnoreIf ({ javaVersion < 1.7 || getSslSettings().isEnabled() })
99
100
def ' should apply connection string to nio2 stream type' () {
100
101
when :
101
102
def client = MongoClients . create(' mongodb://localhost/?streamType=NIO2' )
You can’t perform that action at this time.
0 commit comments