Skip to content

Commit 93d9563

Browse files
committed
telemetry: remove obsolete test case
1 parent 0687caf commit 93d9563

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pkg/telemetry/telemetry_test.go

-13
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,6 @@ import (
99
)
1010

1111
func TestParsePipelineTelemetry(t *testing.T) {
12-
t.Run("default case with four timings in correct order and quoted", func(t *testing.T) {
13-
input := `"pipeline_start=1726050395,pipeline_end=1726050512,build_start=1726050400,attest_start=1726050492"`
14-
expected := &telemetry.PipelineTimings{
15-
Start: time.Date(2024, time.September, 11, 10, 26, 35, 0, time.UTC),
16-
BuildStart: time.Date(2024, time.September, 11, 10, 26, 40, 0, time.UTC),
17-
AttestStart: time.Date(2024, time.September, 11, 10, 28, 12, 0, time.UTC),
18-
End: time.Date(2024, time.September, 11, 10, 28, 32, 0, time.UTC),
19-
}
20-
output, err := telemetry.ParsePipelineTelemetry(input)
21-
assert.NoError(t, err)
22-
assert.Equal(t, expected, output)
23-
})
24-
2512
t.Run("default case with four timings in correct order without quoting", func(t *testing.T) {
2613
input := "pipeline_start=1726050395,pipeline_end=1726050512,build_start=1726050400,attest_start=1726050492"
2714
expected := &telemetry.PipelineTimings{

0 commit comments

Comments
 (0)