Skip to content

Commit

Permalink
PMM-12913 fix alerting api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Mar 14, 2024
1 parent 53c8bc1 commit 5468b44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions api-tests/alerting/alerting_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@ func TestTemplatesAPI(t *testing.T) {
t.Parallel()
client := alertingClient.Default.AlertingService

templateData, err := os.ReadFile("../../testdata/alerting/template.yaml")
templateData, err := os.ReadFile("../testdata/alerting/template.yaml")
require.NoError(t, err)

multipleTemplatesData, err := os.ReadFile("../../testdata/alerting/multiple-templates.yaml")
multipleTemplatesData, err := os.ReadFile("../testdata/alerting/multiple-templates.yaml")
require.NoError(t, err)

invalidTemplateData, err := os.ReadFile("../../testdata/alerting/invalid-template.yaml")
invalidTemplateData, err := os.ReadFile("../testdata/alerting/invalid-template.yaml")
require.NoError(t, err)

t.Run("add", func(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion build/docker/server/Dockerfile.el9
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ RUN install -T -p -m 644 /opt/ansible/ansible.cfg /etc/ansible/ansible.cfg && \

USER pmm

HEALTHCHECK --interval=3s --timeout=2s --start-period=10s --retries=3 CMD curl -sf http://127.0.0.1:8080/v1/readyz
HEALTHCHECK --interval=3s --timeout=2s --start-period=10s --retries=3 CMD curl -sf http://127.0.0.1:8080/v1/server/readyz

CMD ["/opt/entrypoint.sh"]

0 comments on commit 5468b44

Please sign in to comment.