Skip to content

Commit 5f0e3ad

Browse files
committed
Clean up warnings in UserOperationsSpecification
1 parent dadb5d9 commit 5f0e3ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver-core/src/test/functional/com/mongodb/operation/UserOperationsSpecification.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class UserOperationsSpecification extends OperationFunctionalSpecification {
275275
asList(new InsertRequest(new BsonDocument()))).execute(getBinding(cluster))
276276

277277
then:
278-
new CountOperation(getNamespace()).execute(getBinding(cluster)) == 1
278+
new CountOperation(getNamespace()).execute(getBinding(cluster)) == 1L
279279

280280
cleanup:
281281
new DropUserOperation('admin', rwCredential.userName).execute(getBinding())
@@ -312,7 +312,7 @@ class UserOperationsSpecification extends OperationFunctionalSpecification {
312312
def count = new CountOperation(getNamespace()).execute(getBinding())
313313

314314
then:
315-
count == 0
315+
count == 0L
316316

317317
cleanup:
318318
new DropUserOperation('admin', roCredential.userName).execute(getBinding())

0 commit comments

Comments
 (0)