Skip to content

Commit 23ed7c4

Browse files
authored
Micrometer tests expect the network transport to be tcp (#1955)
1 parent 4a6e516 commit 23ed7c4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

driver-sync/src/test/functional/com/mongodb/client/unified/UnifiedTestModifications.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.mongodb.client.unified;
1818

19+
import com.mongodb.ClusterFixture;
1920
import org.opentest4j.AssertionFailedError;
2021

2122
import java.util.ArrayList;
@@ -199,6 +200,9 @@ public static void applyCustomizations(final TestDef def) {
199200
// OpenTelemetry
200201
def.skipNoncompliantReactive("withTransaction is not supported in the reactive driver unified test runner")
201202
.file("open-telemetry/tests", "convenient transactions");
203+
def.skipAccordingToSpec("Micrometer tests expect the network transport to be tcp")
204+
.when(ClusterFixture::isUnixSocket)
205+
.directory("open-telemetry/tests");
202206

203207
// TODO-JAVA-5712
204208

0 commit comments

Comments
 (0)