Skip to content

Commit

Permalink
Skip TestGetLocalHTTPResponse on Windows (#2732)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Jan 7, 2021
1 parent 547e10f commit a12c41f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/testcommon/testcommon_test.go
Expand Up @@ -12,6 +12,7 @@ import (
"os"
"path/filepath"
"reflect"
"runtime"
"testing"
)

Expand Down Expand Up @@ -135,6 +136,9 @@ func TestValidTestSite(t *testing.T) {

// TestGetLocalHTTPResponse() brings up a project and hits a URL to get the response
func TestGetLocalHTTPResponse(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Skipping on Windows as we always seem to have port conflicts")
}
// We have to get globalconfig read so CA is known and installed.
err := globalconfig.ReadGlobalConfig()
require.NoError(t, err)
Expand Down

0 comments on commit a12c41f

Please sign in to comment.