Skip to content

Commit 4938412

Browse files
nhachichavbabanin
andauthored
Update driver-core/src/test/unit/com/mongodb/internal/connection/DefaultServerSpecification.groovy
Co-authored-by: Viacheslav Babanin <[email protected]>
1 parent 7f74b9b commit 4938412

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
@@ -261,7 +261,6 @@ class DefaultServerSpecification extends Specification {
261261

262262
def 'should invalidate the pool when the exception without system overloaded label'() {
263263
given:
264-
assert !exceptionToThrow.hasErrorLabel(MongoException.SYSTEM_OVERLOADED_ERROR_LABEL)
265264
def connectionPool = Mock(ConnectionPool)
266265
connectionPool.get(_) >> { throw exceptionToThrow }
267266
def serverMonitor = Mock(ServerMonitor)

0 commit comments

Comments
 (0)