Skip hanging test on darwin

This commit is contained in:
Daniel Nelson 2018-02-21 14:25:13 -08:00
parent d7f279e3d3
commit 3658ac8f53
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
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{}