Skip to content

Commit 9479289

Browse files
committed
Fix agent integration tests
1 parent 55a6e24 commit 9479289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dd-trace-core/src/traceAgentTest/groovy/MetricsIntegrationTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ class MetricsIntegrationTest extends AbstractTraceAgentTest {
4040
)
4141
writer.startBucket(2, System.nanoTime(), SECONDS.toNanos(10))
4242
writer.add(
43-
new MetricKey("resource1", "service1", "operation1", "sql", 0, false, true, "xyzzy", [UTF8BytesString.create("grault:quux")], null, null),
43+
new MetricKey("resource1", "service1", "operation1", null, "sql", 0, false, true, "xyzzy", [UTF8BytesString.create("grault:quux")], null, null),
4444
new AggregateMetric().recordDurations(5, new AtomicLongArray(2, 1, 2, 250, 4, 5))
4545
)
4646
writer.add(
47-
new MetricKey("resource2", "service2", "operation2", "web", 200, false, true, "xyzzy", [UTF8BytesString.create("grault:quux")], null, null),
47+
new MetricKey("resource2", "service2", "operation2", null, "web", 200, false, true, "xyzzy", [UTF8BytesString.create("grault:quux")], null, null),
4848
new AggregateMetric().recordDurations(10, new AtomicLongArray(1, 1, 200, 2, 3, 4, 5, 6, 7, 8, 9))
4949
)
5050
writer.finishBucket()

0 commit comments

Comments
 (0)