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

Commit

Permalink
skip TestHttpApi on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Jan 14, 2022
1 parent 8dafdbb commit a41c795
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"net/http"
"net/http/httptest"
"os"
"runtime"
"strconv"
"strings"
"sync"
Expand Down Expand Up @@ -207,6 +208,10 @@ func (NodeProvider) makeAPISwarm(ctx context.Context, fullIdentity bool, n int)
}

func TestHttpApi(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("skipping due to #142")
}

ctx, cancel := context.WithCancel(context.Background())
defer cancel()

Expand Down

0 comments on commit a41c795

Please sign in to comment.