@@ -574,7 +574,7 @@ public void TestCreateCollection()
574574 }
575575
576576 [ Test ]
577- [ RequiresServer ( StorageEngines = "mmapv1" ) ]
577+ [ RequiresServer ( StorageEngines = "mmapv1" , ServerTypes = ServerTypes . StandaloneOrReplicaSetMember ) ]
578578 public void TestCreateCollectionSetCappedSetMaxDocuments ( )
579579 {
580580 var collection = _database . GetCollection ( "cappedcollection" ) ;
@@ -591,7 +591,7 @@ public void TestCreateCollectionSetCappedSetMaxDocuments()
591591 }
592592
593593 [ Test ]
594- [ RequiresServer ( StorageEngines = "mmapv1" ) ]
594+ [ RequiresServer ( StorageEngines = "mmapv1" , ServerTypes = ServerTypes . StandaloneOrReplicaSetMember ) ]
595595 public void TestCreateCollectionSetCappedSetMaxSize ( )
596596 {
597597 var collection = _database . GetCollection ( "cappedcollection" ) ;
@@ -1006,7 +1006,7 @@ public void TestFindAndModifyReplaceWithWriteConcernError()
10061006 _collection . Insert ( new BsonDocument { { "_id" , 1 } , { "x" , 1 } } ) ;
10071007 var collectionSettings = new MongoCollectionSettings
10081008 {
1009- WriteConcern = new WriteConcern { W = 9 }
1009+ WriteConcern = new WriteConcern { W = 9 }
10101010 } ;
10111011 var collection = _database . GetCollection ( _collection . Name , collectionSettings ) ;
10121012 var args = new FindAndModifyArgs
@@ -2972,7 +2972,7 @@ public void TestGetStats()
29722972 }
29732973
29742974 [ Test ]
2975- [ RequiresServer ( StorageEngines = "mmapv1" ) ]
2975+ [ RequiresServer ( StorageEngines = "mmapv1" , ServerTypes = ServerTypes . StandaloneOrReplicaSetMember ) ]
29762976 public void TestGetStatsUsePowerOf2Sizes ( )
29772977 {
29782978 // SERVER-8409: only run this when talking to a non-mongos 2.2 server or >= 2.4.
0 commit comments