Skip to content

Commit 1ec499c

Browse files
author
Nacho Bonafonte
committed
Fix test
1 parent c845d1f commit 1ec499c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/OpenTelemetrySdkTests/Metrics/StableMetrics/Aggregation/ExplicitBucketHistogramAggregationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ExplicitBucketHistogramAggregationTests: XCTestCase {
2626

2727
let compatibleDescriptor1 = InstrumentDescriptor(name: "test", description: "test", unit: "unit", type: .counter, valueType: .double)
2828
let compatibleDescriptor2 = InstrumentDescriptor(name: "test", description: "test", unit: "unit", type: .histogram, valueType: .double)
29-
let incompatibleDescriptor = InstrumentDescriptor(name: "test", description: "test", unit: "unit", type: .counter, valueType: .double)
29+
let incompatibleDescriptor = InstrumentDescriptor(name: "test", description: "test", unit: "unit", type: .observableGauge, valueType: .double)
3030

3131
XCTAssertTrue(aggregation.isCompatible(with: compatibleDescriptor1))
3232
XCTAssertTrue(aggregation.isCompatible(with: compatibleDescriptor2))

0 commit comments

Comments
 (0)