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
23
23
import com.mongodb.client.model.ValidationAction
24
24
import com.mongodb.client.model.ValidationLevel
25
25
import org.bson.BsonDocument
26
+ import org.bson.BsonInt32
26
27
import org.bson.BsonString
27
28
import org.bson.Document
28
29
import org.bson.codecs.BsonDocumentCodec
@@ -164,7 +165,8 @@ class CreateCollectionOperationSpecification extends OperationFunctionalSpecific
164
165
stats. getBoolean(' capped' ). getValue()
165
166
stats. getNumber(' max' ). intValue() == 100
166
167
// 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
168
170
169
171
where :
170
172
async << [true , false ]
You can’t perform that action at this time.
0 commit comments