diff --git a/mongo/integration/handshake_test.go b/mongo/integration/handshake_test.go index 3e9989158e..5a230f22d5 100644 --- a/mongo/integration/handshake_test.go +++ b/mongo/integration/handshake_test.go @@ -20,11 +20,16 @@ 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") + } + opts := mtest.NewOptions(). CreateCollection(false). ClientType(mtest.Proxy)