Skip to content

Commit 9d061af

Browse files
committed
Fix assertion
1 parent 209e53b commit 9d061af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/mongodb/src/test/java/org/testcontainers/containers/MongoDBContainerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void shouldSupportSharding() {
110110
Document shards = mongoClient.getDatabase("config").getCollection("shards").find().first();
111111
assertThat(shards).isNotNull();
112112
assertThat(shards).isNotEmpty();
113-
assertThat(isReplicaSet(mongoClient));
113+
assertThat(isReplicaSet(mongoClient)).isFalse();
114114
}
115115
}
116116

0 commit comments

Comments
 (0)