Skip to content

Commit

Permalink
PMM-8471 fix supervisord tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Nov 2, 2023
1 parent 4b403bd commit c6be207
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion managed/services/supervisord/supervisord_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func TestAddAlertManagerParam(t *testing.T) {
require.NoError(t, err)
require.Equal(t, "http://127.0.0.1:9093/alertmanager,https://some-alertmanager", params["AlertmanagerURL"])
require.Equal(t, ",username1", params["AlertManagerUser"])
require.Equal(t, `,"PAsds!234"`, params["AlertManagerPassword"])
require.Equal(t, `,"PAsds!234"`, params["ATestSavePMMConfiglertManagerPassword"])
})

t.Run("incorrect alertmanager url", func(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions managed/testdata/supervisord.d/pmm-db_disabled.ini
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ redirect_stderr = true
[program:nginx]
priority = 4
command = nginx
user = nginx
autorestart = true
autostart = true
startretries = 10
Expand Down
1 change: 1 addition & 0 deletions managed/testdata/supervisord.d/pmm-db_enabled.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ redirect_stderr = true
[program:nginx]
priority = 4
command = nginx
user = nginx
autorestart = true
autostart = true
startretries = 10
Expand Down

0 comments on commit c6be207

Please sign in to comment.