Skip to content

Commit 33b2948

Browse files
committed
added missing attribute to ignore bitwise tests pre server 3.2.
1 parent 0a6777a commit 33b2948

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/MongoDB.Driver.Tests/Linq/Translators/PredicateTranslatorTests.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ public void Any_with_local_contains_on_a_scalar_array()
166166
}
167167

168168
[Test]
169+
[RequiresServer(MinimumVersion = "3.1.9")]
169170
public void BitsAllClear_with_bitwise_operators()
170171
{
171172
Assert(
@@ -175,6 +176,7 @@ public void BitsAllClear_with_bitwise_operators()
175176
}
176177

177178
[Test]
179+
[RequiresServer(MinimumVersion = "3.1.9")]
178180
public void BitsAllSet_with_bitwise_operators()
179181
{
180182
Assert(
@@ -184,6 +186,7 @@ public void BitsAllSet_with_bitwise_operators()
184186
}
185187

186188
[Test]
189+
[RequiresServer(MinimumVersion = "3.1.9")]
187190
public void BitsAllSet_with_HasFlag()
188191
{
189192
Assert(
@@ -193,6 +196,7 @@ public void BitsAllSet_with_HasFlag()
193196
}
194197

195198
[Test]
199+
[RequiresServer(MinimumVersion = "3.1.9")]
196200
public void BitsAnyClear_with_bitwise_operators()
197201
{
198202
Assert(
@@ -202,6 +206,7 @@ public void BitsAnyClear_with_bitwise_operators()
202206
}
203207

204208
[Test]
209+
[RequiresServer(MinimumVersion = "3.1.9")]
205210
public void BitsAnySet_with_bitwise_operators()
206211
{
207212
Assert(

0 commit comments

Comments
 (0)