Skip hanging test on darwin

This commit is contained in:
Daniel Nelson 2018-02-21 14:25:13 -08:00
parent cce1601a54
commit 2750228aa9
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import (
"io/ioutil" "io/ioutil"
"net/http" "net/http"
"net/url" "net/url"
"runtime"
"strconv" "strconv"
"sync" "sync"
"testing" "testing"
@ -425,6 +426,9 @@ func TestWriteHTTPGzippedData(t *testing.T) {
// writes 25,000 metrics to the listener with 10 different writers // writes 25,000 metrics to the listener with 10 different writers
func TestWriteHTTPHighTraffic(t *testing.T) { func TestWriteHTTPHighTraffic(t *testing.T) {
if runtime.GOOS != "darwin" {
t.Skip("Skipping due to hang on darwin")
}
listener := newTestHTTPListener() listener := newTestHTTPListener()
acc := &testutil.Accumulator{} acc := &testutil.Accumulator{}