Skip to content

Commit

Permalink
PMM-7 fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Feb 20, 2024
1 parent 5e59ce3 commit 73b8b5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions managed/services/supervisord/supervisord_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestConfig(t *testing.T) {
}
s := New(configDir, pmmUpdateCheck, &models.Params{VMParams: vmParams, PGParams: pgParams, HAParams: &models.HAParams{}}, gRPCMessageMaxSize)
settings := &models.Settings{
DataRetention: 30 * 24 * time.Hour,
DataRetention: 30 * 24 * time.Hour,
PMMPublicAddress: "192.168.0.42:8443",
}
settings.VictoriaMetrics.CacheEnabled = false
Expand Down Expand Up @@ -89,8 +89,8 @@ func TestConfigVictoriaMetricsEnvvars(t *testing.T) {
}
s := New(configDir, pmmUpdateCheck, &models.Params{VMParams: vmParams, PGParams: pgParams, HAParams: &models.HAParams{}}, gRPCMessageMaxSize)
settings := &models.Settings{
DataRetention: 30 * 24 * time.Hour,
AlertManagerURL: "https://external-user:passw!,ord@external-alertmanager:6443/alerts",
DataRetention: 30 * 24 * time.Hour,
PMMPublicAddress: "192.168.0.42:8443",
}
settings.VictoriaMetrics.CacheEnabled = false

Expand Down
1 change: 0 additions & 1 deletion managed/testdata/supervisord.d/victoriametrics_envvars.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ command =
--search.logSlowQueryDuration=300s
--search.maxQueryDuration=9s
--promscrape.streamParse=false
--prometheusDataPath=/srv/prometheus/data
--http.pathPrefix=/prometheus
--envflag.enable
--envflag.prefix=VM_
Expand Down

0 comments on commit 73b8b5d

Please sign in to comment.