Skip to content

Commit

Permalink
change json
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshggwp committed Oct 26, 2023
1 parent 00ce9b3 commit c8c047e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ var _ = Describe("The plugin", func() {
Expect(resp.StatusCode).To(Equal(http.StatusOK))
})
It(fmt.Sprintf("should execute the %s query", createRuleGroup), func() {
f, err := os.Open(filepath.Join("../integration-test/queries", createFolder+".json"))
f, err := os.Open(filepath.Join("../integration-test/queries", createRuleGroup+".json"))
Expect(err).ToNot(HaveOccurred())

req, err := http.NewRequest(http.MethodPost, "http://grafana.grafana-mongodb-it.cluster/api/ruler/grafana/api/v1/rules/alerts?subtype=cortex", f)
Expand Down

0 comments on commit c8c047e

Please sign in to comment.