diff options
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}), |