summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2021-09-14 14:30:18 +0100
committerNick Thomas <nick@gitlab.com>2021-09-14 14:30:18 +0100
commit58891eff0f6758b83e9443efd73822b65979e977 (patch)
tree9a9be2e2259e33c789b0d572a97b9c94d306f829
parente2ff8d2531e881126938cdc63e05d758af632fdb (diff)
downloadgitlab-shell-58891eff0f6758b83e9443efd73822b65979e977.tar.gz
Fix a flaky test
-rw-r--r--internal/config/config_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/config_test.go b/internal/config/config_test.go
index 699a261..78b2ed4 100644
--- a/internal/config/config_test.go
+++ b/internal/config/config_test.go
@@ -32,7 +32,7 @@ func TestHttpClient(t *testing.T) {
client, err := config.HttpClient()
require.NoError(t, err)
- _, err = client.Get("http://host.com/path")
+ _, err = client.Get(url)
require.NoError(t, err)
ms, err := prometheus.DefaultGatherer.Gather()