We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba9722a commit 9f2ea21Copy full SHA for 9f2ea21
1 file changed
x-pack/apm-server/main_test.go
@@ -27,7 +27,7 @@ import (
27
"github.com/elastic/apm-server/internal/elasticsearch"
28
)
29
30
-func TestMonitoring(t *testing.T) {
+func TestMainMonitoring(t *testing.T) {
31
home := t.TempDir()
32
err := paths.InitPaths(&paths.Path{Home: home})
33
require.NoError(t, err)
@@ -63,7 +63,7 @@ func TestMonitoring(t *testing.T) {
63
"apm-server.sampling.tail.storage.disk_total",
64
"apm-server.sampling.tail.storage.disk_usage_threshold_pct",
65
})
66
- }, time.Second, 10*time.Millisecond)
+ }, 2*time.Second, 20*time.Millisecond) // waitFor has to be greater than diskUsageFetchInterval
67
68
return runServerError
69
}
0 commit comments