@@ -72,7 +72,7 @@ public void Filter_get_and_set_should_work()
72
72
}
73
73
74
74
[ Test ]
75
- [ RequiresServer ( "EnsureCollectionsExist" , StorageEngines = "mmapv1" ) ]
75
+ [ RequiresServer ( "EnsureCollectionsExist" , ClusterTypes = ClusterTypes . StandaloneOrReplicaSet , StorageEngines = "mmapv1" ) ]
76
76
public void Execute_should_return_the_expected_result (
77
77
[ Values ( false , true ) ]
78
78
bool async )
@@ -91,7 +91,7 @@ public void Execute_should_return_the_expected_result(
91
91
[ TestCase ( "{ name : \" regular\" }" , "regular" , true ) ]
92
92
[ TestCase ( "{ \" options.capped\" : true }" , "capped" , false ) ]
93
93
[ TestCase ( "{ \" options.capped\" : true }" , "capped" , true ) ]
94
- [ RequiresServer ( "EnsureCollectionsExist" , StorageEngines = "mmapv1" ) ]
94
+ [ RequiresServer ( "EnsureCollectionsExist" , ClusterTypes = ClusterTypes . StandaloneOrReplicaSet , StorageEngines = "mmapv1" ) ]
95
95
public void Execute_should_return_the_expected_result_when_filter_is_used ( string filterString , string expectedName , bool async )
96
96
{
97
97
var filter = BsonDocument . Parse ( filterString ) ;
@@ -108,7 +108,7 @@ public void Execute_should_return_the_expected_result_when_filter_is_used(string
108
108
}
109
109
110
110
[ Test ]
111
- [ RequiresServer ( StorageEngines = "mmapv1" ) ]
111
+ [ RequiresServer ( ClusterTypes = ClusterTypes . StandaloneOrReplicaSet , StorageEngines = "mmapv1" ) ]
112
112
public void Execute_should_return_the_expected_result_when_the_database_does_not_exist (
113
113
[ Values ( false , true ) ]
114
114
bool async )
@@ -123,7 +123,7 @@ public void Execute_should_return_the_expected_result_when_the_database_does_not
123
123
}
124
124
125
125
[ Test ]
126
- [ RequiresServer ( VersionLessThan = "2.7.0" ) ]
126
+ [ RequiresServer ( VersionLessThan = "2.7.0" , ClusterTypes = ClusterTypes . StandaloneOrReplicaSet ) ]
127
127
public void Execute_should_throw_when_filter_name_is_not_a_string_and_connected_to_older_server (
128
128
[ Values ( false , true ) ]
129
129
bool async )
0 commit comments