You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems there is an issue while mocking Prometheus URLs with gock.
Prometheus URLs contain a query which is written in PromQL. The resulting URLs look similar to http://localhost:9090/api/v1/query?query=scalar(anyMetric)
This test fails as long as the MatchParam() is present in Line 18 in main_test.go
It seems there is an issue while mocking Prometheus URLs with gock.
Prometheus URLs contain a query which is written in PromQL. The resulting URLs look similar to
http://localhost:9090/api/v1/query?query=scalar(anyMetric)
This test fails as long as the
MatchParam()
is present in Line 18 inmain_test.go
I tried passing promQuery variable as a normal string as well as a URL encoded string but the test fails in both the scenarios.
Test command -
Is this a issue due to gock ?
The text was updated successfully, but these errors were encountered: