Skip to content

Commit 557cbfc

Browse files
committed
Fixed flaky test
1 parent f21ceea commit 557cbfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dd-java-agent/instrumentation/kafka-clients-0.11/src/latestDepTest/groovy/KafkaClientTestBase.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ abstract class KafkaClientTestBase extends VersionedNamingTestBase {
247247
"type:kafka"
248248
)
249249
}
250-
def sorted = new ArrayList<DataStreamsTags>(TEST_DATA_STREAMS_WRITER.backlogs).sort()
250+
def sorted = new ArrayList<DataStreamsTags>(TEST_DATA_STREAMS_WRITER.backlogs).sort({it.type+it.partition})
251251
verifyAll(sorted) {
252252
size() == 2
253253
get(0).hasAllTags("consumer_group:sender",

0 commit comments

Comments
 (0)