Skip to content

Commit

Permalink
test: fix skipping report test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
szkiba committed Feb 20, 2024
1 parent cb8496d commit 5603cde
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions dashboard/extension_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,16 +307,6 @@ func TestExtension_skip_report(t *testing.T) {

assert.NoError(t, ext.Start())

time.Sleep(time.Millisecond)

go func() {
sample := testSample(t, "foo", metrics.Counter, 1)

ext.AddMetricSamples(testSampleContainer(t, sample).toArray())
}()

time.Sleep(time.Millisecond)

assert.NoError(t, ext.Stop())

_, err = osFS.Stat(file.Name() + ".gz")
Expand Down

0 comments on commit 5603cde

Please sign in to comment.