We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 647e3b2 commit db1fdbcCopy full SHA for db1fdbc
driver-core/src/test/unit/com/mongodb/internal/connection/BaseClusterSpecification.groovy
@@ -255,7 +255,7 @@ class BaseClusterSpecification extends Specification {
255
def latch = new CountDownLatch(1)
256
def thread = new Thread({
257
try {
258
- cluster.selectServer(new ReadPreferenceServerSelector(ReadPreference.primary()))
+ cluster.selectServer(new ReadPreferenceServerSelector(ReadPreference.primary()), new OperationContext())
259
} catch (MongoInterruptedException e) {
260
latch.countDown()
261
}
0 commit comments