Skip to content

Commit 40aecc7

Browse files
vbabaninrozza
andauthored
Update driver-core/src/test/unit/com/mongodb/internal/connection/DefaultServerSpecification.groovy
Co-authored-by: Ross Lawley <ross.lawley@gmail.com>
1 parent 4e69816 commit 40aecc7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

driver-core/src/test/unit/com/mongodb/internal/connection/DefaultServerSpecification.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ class DefaultServerSpecification extends Specification {
210210
given:
211211
def connectionPool = Mock(ConnectionPool)
212212
def serverMonitor = Mock(ServerMonitor)
213-
connectionPool.get(createOperationContext()) >> { throw exceptionToThrow }
214213

215214
def server = defaultServer(connectionPool, serverMonitor)
216215
server.close()

0 commit comments

Comments
 (0)