diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-08-17 06:58:49 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2021-08-17 07:01:14 +0300 |
commit | 685af284110f55590c0288815bae80cc77cad247 (patch) | |
tree | 4e3997fc8002c9dc40b7a17dea17989276b72986 /test/acceptance/config_test.go | |
parent | 84d1dde7f22aad875f75c2df768f6f2984a3ef4b (diff) |
test: rename and cleanup some functions571-refactor-missing-serving-tests
Diffstat (limited to 'test/acceptance/config_test.go')
-rw-r--r-- | test/acceptance/config_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/acceptance/config_test.go b/test/acceptance/config_test.go index abe0e8ac..82b7fbb1 100644 --- a/test/acceptance/config_test.go +++ b/test/acceptance/config_test.go @@ -13,7 +13,7 @@ import ( func TestEnvironmentVariablesConfig(t *testing.T) { envVarValue := "LISTEN_HTTP=" + net.JoinHostPort(httpListener.Host, httpListener.Port) - RunPagesProcessWithStubGitLabServer(t, + RunPagesProcess(t, withoutWait, withListeners([]ListenSpec{}), // explicitly disable listeners for this test withEnv([]string{envVarValue}), @@ -30,7 +30,7 @@ func TestEnvironmentVariablesConfig(t *testing.T) { func TestMixedConfigSources(t *testing.T) { envVarValue := "LISTEN_HTTP=" + net.JoinHostPort(httpListener.Host, httpListener.Port) - RunPagesProcessWithStubGitLabServer(t, + RunPagesProcess(t, withoutWait, withListeners([]ListenSpec{httpsListener}), withEnv([]string{envVarValue}), @@ -50,7 +50,7 @@ func TestMultipleListenersFromEnvironmentVariables(t *testing.T) { listenSpecs := []ListenSpec{{"http", "127.0.0.1", "37001"}, {"http", "127.0.0.1", "37002"}} envVarValue := fmt.Sprintf("LISTEN_HTTP=%s,%s", net.JoinHostPort("127.0.0.1", "37001"), net.JoinHostPort("127.0.0.1", "37002")) - RunPagesProcessWithStubGitLabServer(t, + RunPagesProcess(t, withoutWait, withListeners([]ListenSpec{}), // explicitly disable listeners for this test withEnv([]string{envVarValue}), |