Skip to content

Commit

Permalink
Rename sync inst names (#5303)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias authored May 8, 2024
1 parent ae06a80 commit 0fce441
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/global/meter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,18 @@ func testSetupAllInstrumentTypes(t *testing.T, m metric.Meter) (metric.Float64Co
}, afcounter)
require.NoError(t, err)

sfcounter, err := m.Float64Counter("test_Async_Counter")
sfcounter, err := m.Float64Counter("test_Sync_Counter")
require.NoError(t, err)
_, err = m.Float64UpDownCounter("test_Async_UpDownCounter")
_, err = m.Float64UpDownCounter("test_Sync_UpDownCounter")
assert.NoError(t, err)
_, err = m.Float64Histogram("test_Async_Histogram")
_, err = m.Float64Histogram("test_Sync_Histogram")
assert.NoError(t, err)

_, err = m.Int64Counter("test_Async_Counter")
_, err = m.Int64Counter("test_Sync_Counter")
assert.NoError(t, err)
_, err = m.Int64UpDownCounter("test_Async_UpDownCounter")
_, err = m.Int64UpDownCounter("test_Sync_UpDownCounter")
assert.NoError(t, err)
_, err = m.Int64Histogram("test_Async_Histogram")
_, err = m.Int64Histogram("test_Sync_Histogram")
assert.NoError(t, err)

return sfcounter, afcounter
Expand Down

0 comments on commit 0fce441

Please sign in to comment.