File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
MongoDB.Driver.Core.Tests/Core/Operations
MongoDB.Driver.Legacy.Tests Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -441,7 +441,7 @@ public void Execute_should_create_collection_when_AutoIndexId_is_set(
441441 [ Values ( false , true ) ]
442442 bool async )
443443 {
444- RequireServer . Check ( ) ;
444+ RequireServer . Check ( ) . VersionLessThan ( "3.7.0" ) ;
445445 DropCollection ( ) ;
446446 var subject = new CreateCollectionOperation ( _collectionNamespace , _messageEncoderSettings )
447447 {
Original file line number Diff line number Diff line change @@ -568,12 +568,13 @@ public void TestCreateCollection()
568568 Assert . True ( collection . Exists ( ) ) ;
569569 }
570570
571- [ Theory ]
571+ [ SkippableTheory ]
572572 [ ParameterAttributeData ]
573573 public void TestCreateCollectionSetAutoIndexId (
574574 [ Values ( false , true ) ]
575575 bool autoIndexId )
576576 {
577+ RequireServer . Check ( ) . VersionLessThan ( "3.7.0" ) ;
577578 var collection = _database . GetCollection ( "cappedcollection" ) ;
578579 collection . Drop ( ) ;
579580 var options = CollectionOptions . SetAutoIndexId ( autoIndexId ) ;
You can’t perform that action at this time.
0 commit comments