Skip to content

Commit 731613d

Browse files
GODRIVER-2433 skip fle2-Range-*-Correctness tests on macOS (#1164)
* skip fle2-Range-*-Correctness tests on macOS Co-authored-by: Preston Vasquez <[email protected]>
1 parent b1e7aa5 commit 731613d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mongo/integration/client_side_encryption_spec_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ package integration
1212
import (
1313
"os"
1414
"path"
15+
"regexp"
1516
"testing"
1617
)
1718

@@ -54,6 +55,10 @@ func TestClientSideEncryptionSpec(t *testing.T) {
5455

5556
for _, fileName := range jsonFilesInDir(t, path.Join(dataPath, encryptionSpecName)) {
5657
t.Run(fileName, func(t *testing.T) {
58+
re := regexp.MustCompile(`fle2\-Range\-.*\-Correctness`)
59+
if re.Match([]byte(fileName)) {
60+
t.Skipf("skipping test on macOS due to slow runtime")
61+
}
5762
if fileName == "kmipKMS.json" && "" == os.Getenv("KMS_MOCK_SERVERS_RUNNING") {
5863
t.Skipf("Skipping test as KMS_MOCK_SERVERS_RUNNING is not set")
5964
}

0 commit comments

Comments
 (0)