You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: skip ordering-dependent max files limit test for Vert.x HashSet
fileUploads() returns a HashSet in Vert.x so iteration order is JVM-
version-dependent. Add testBodyFilesContentOrdering() flag (defaults
true) to HttpServerTest to allow skipping the specific-file assertion.
Vert.x subclasses return false and add a count-based test instead.
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/vertx/vertx-web/vertx-web-3.4/src/test/groovy/server/VertxHttpServerForkedTest.groovy
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -98,8 +98,13 @@ class VertxHttpServerForkedTest extends HttpServerTest<Vertx> {
98
98
true
99
99
}
100
100
101
-
// fileUploads() returns a HashSet in Vert.x: override to verify count instead of which specific file is last
102
-
def'test instrumentation gateway file upload content max files limit'() {
101
+
@Override
102
+
booleantestBodyFilesContentOrdering() {
103
+
false
104
+
}
105
+
106
+
// fileUploads() returns a HashSet in Vert.x: check count instead of which specific file is excluded
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/vertx/vertx-web/vertx-web-4.0/src/latestDepTest/groovy/server/VertxHttpServerForkedTest.groovy
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -93,8 +93,13 @@ class VertxHttpServerForkedTest extends HttpServerTest<Vertx> {
93
93
true
94
94
}
95
95
96
-
// fileUploads() returns a HashSet in Vert.x: override to verify count instead of which specific file is last
97
-
def'test instrumentation gateway file upload content max files limit'() {
96
+
@Override
97
+
booleantestBodyFilesContentOrdering() {
98
+
false
99
+
}
100
+
101
+
// fileUploads() returns a HashSet in Vert.x: check count instead of which specific file is excluded
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/vertx/vertx-web/vertx-web-4.0/src/test/groovy/server/VertxHttpServerForkedTest.groovy
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -94,8 +94,13 @@ class VertxHttpServerForkedTest extends HttpServerTest<Vertx> {
94
94
true
95
95
}
96
96
97
-
// fileUploads() returns a HashSet in Vert.x: override to verify count instead of which specific file is last
98
-
def'test instrumentation gateway file upload content max files limit'() {
97
+
@Override
98
+
booleantestBodyFilesContentOrdering() {
99
+
false
100
+
}
101
+
102
+
// fileUploads() returns a HashSet in Vert.x: check count instead of which specific file is excluded
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/vertx/vertx-web/vertx-web-5.0/src/test/groovy/server/VertxHttpServerForkedTest.groovy
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -98,8 +98,13 @@ class VertxHttpServerForkedTest extends HttpServerTest<Vertx> {
98
98
true
99
99
}
100
100
101
-
// fileUploads() returns a HashSet in Vert.x: override to verify count instead of which specific file is last
102
-
def'test instrumentation gateway file upload content max files limit'() {
101
+
@Override
102
+
booleantestBodyFilesContentOrdering() {
103
+
false
104
+
}
105
+
106
+
// fileUploads() returns a HashSet in Vert.x: check count instead of which specific file is excluded
0 commit comments