mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
fix: check correct test cases
Signed-off-by: Manik Rana <manikrana54@gmail.com>
This commit is contained in:
parent
c58a173382
commit
5f7bcff912
|
@ -921,8 +921,8 @@ func TestManagerCTZeroIngestion(t *testing.T) {
|
||||||
case "application/openmetrics-text; version=1.0.0":
|
case "application/openmetrics-text; version=1.0.0":
|
||||||
if tc.enableCTZeroIngestion && tc.exp.ts == 0 {
|
if tc.enableCTZeroIngestion && tc.exp.ts == 0 {
|
||||||
require.Len(t, got, 2)
|
require.Len(t, got, 2)
|
||||||
|
require.Equal(t, 0.0, got[0])
|
||||||
require.Equal(t, tc.exp.value, got[1])
|
require.Equal(t, tc.exp.value, got[1])
|
||||||
require.Equal(t, 0.0, got[1])
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue