From 4c8b29ec6d231bd7d6b9247b1205e74dd05edd39 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 26 Sep 2023 12:58:11 -0500 Subject: [PATCH] try another skip --- mongo/integration/handshake_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mongo/integration/handshake_test.go b/mongo/integration/handshake_test.go index 5a230f22d5..b2cb7562f0 100644 --- a/mongo/integration/handshake_test.go +++ b/mongo/integration/handshake_test.go @@ -20,14 +20,13 @@ import ( "go.mongodb.org/mongo-driver/mongo/integration/mtest" "go.mongodb.org/mongo-driver/version" "go.mongodb.org/mongo-driver/x/bsonx/bsoncore" - "go.mongodb.org/mongo-driver/x/mongo/driver/mongocrypt" ) func TestHandshakeProse(t *testing.T) { mt := mtest.New(t) - if len(mongocrypt.Version()) == 0 { - t.Skip("Not built with cse flag") + if len(os.Getenv("DOCKER_RUNNING")) > 0 { + t.Skip("These tests gives different results when run in Docker due to extra environment data.") } opts := mtest.NewOptions().