File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
driver-core/src/test/functional/com/mongodb/operation Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import com.mongodb.WriteConcernException
2323import com.mongodb.client.model.ValidationAction
2424import com.mongodb.client.model.ValidationLevel
2525import org.bson.BsonDocument
26+ import org.bson.BsonInt32
2627import org.bson.BsonString
2728import org.bson.Document
2829import org.bson.codecs.BsonDocumentCodec
@@ -164,7 +165,8 @@ class CreateCollectionOperationSpecification extends OperationFunctionalSpecific
164165 stats. getBoolean(' capped' ). getValue()
165166 stats. getNumber(' max' ). intValue() == 100
166167 // Starting in 3.0, the size in bytes moved from storageSize to maxSize
167- stats. getNumber(' maxSize' ). intValue() == 40 * 1024 || stats. getNumber(' storageSize' ). intValue() == 40 * 1024
168+ stats. getNumber(' maxSize' , new BsonInt32 (0 )). intValue() == 40 * 1024 ||
169+ stats. getNumber(' storageSize' , new BsonInt32 (0 )). intValue() == 40 * 1024
168170
169171 where :
170172 async << [true , false ]
You can’t perform that action at this time.
0 commit comments