disable bench tests on windows

This commit is contained in:
Lucas Clemente
2016-10-14 11:32:39 +02:00
parent 29c3259e42
commit 81c8430adb

View File

@@ -9,6 +9,7 @@ import (
mrand "math/rand"
"net"
"reflect"
"runtime"
"runtime/debug"
"time"
"unsafe"
@@ -90,6 +91,10 @@ var _ = Describe("Benchmarks", func() {
Context(fmt.Sprintf("with version %d", version), func() {
Measure("two linked sessions", func(b Benchmarker) {
if runtime.GOOS == "windows" {
Skip("benchmark tests disabled on windows, see #325")
}
connID := protocol.ConnectionID(mrand.Uint32())
c1 := newLinkedConnection(nil)