@cryptotaxi247 / kubo / commits / b52c80ca4

skip TestHttpApi on Windows

This commit was moved from ipfs/go-ipfs-http-client@a41c7956c0da2a4c51e15794b22dea09395cc7ef

galargh committed Jan 14, 2022 at 16:16 UTC b52c80ca4da5730f47674946025c9490fcd50e1f
1 file changed +5
client/httpapi/api_test.go
+5
@@ -6,6 +6,7 @@ import (
6 "net/http"
7 "net/http/httptest"
8 "os"
9 + "runtime"
10 "strconv"
11 "strings"
12 "sync"
@@ -207,6 +208,10 @@ func (NodeProvider) makeAPISwarm(ctx context.Context, fullIdentity bool, n int)
208 }
209
210 func TestHttpApi(t *testing.T) {
211 + if runtime.GOOS == "windows" {
212 + t.Skip("skipping due to #142")
213 + }
214 +
215 ctx, cancel := context.WithCancel(context.Background())
216 defer cancel()
217