Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Commit a41c795

Browse files
committed
skip TestHttpApi on Windows
1 parent 8dafdbb commit a41c795

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"net/http"
77
"net/http/httptest"
88
"os"
9+
"runtime"
910
"strconv"
1011
"strings"
1112
"sync"
@@ -207,6 +208,10 @@ func (NodeProvider) makeAPISwarm(ctx context.Context, fullIdentity bool, n int)
207208
}
208209

209210
func TestHttpApi(t *testing.T) {
211+
if runtime.GOOS == "windows" {
212+
t.Skip("skipping due to #142")
213+
}
214+
210215
ctx, cancel := context.WithCancel(context.Background())
211216
defer cancel()
212217

0 commit comments

Comments
 (0)