diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2019-10-16 01:59:56 +0200 |
---|---|---|
committer | Erik Dubbelboer <erik@dubbelboer.com> | 2019-10-16 10:20:13 +0200 |
commit | c3d82ca3a430260ff1795abfeac9e8396ed6f6fe (patch) | |
tree | dde63ec5b5f22388ef65a12ca7dc6bc131bee2d8 /peripconn_test.go | |
parent | Use Fatal instead of Fatalf when no formatting used (diff) | |
download | fasthttp-c3d82ca3a430260ff1795abfeac9e8396ed6f6fe.tar.gz fasthttp-c3d82ca3a430260ff1795abfeac9e8396ed6f6fe.tar.bz2 fasthttp-c3d82ca3a430260ff1795abfeac9e8396ed6f6fe.zip |
Speed up testing by running tests in parallel
Diffstat (limited to 'peripconn_test.go')
-rw-r--r-- | peripconn_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/peripconn_test.go b/peripconn_test.go index 7cfb0d8..b67e8a9 100644 --- a/peripconn_test.go +++ b/peripconn_test.go @@ -5,6 +5,8 @@ import ( ) func TestIPxUint32(t *testing.T) { + t.Parallel() + testIPxUint32(t, 0) testIPxUint32(t, 10) testIPxUint32(t, 0x12892392) @@ -19,6 +21,8 @@ func testIPxUint32(t *testing.T, n uint32) { } func TestPerIPConnCounter(t *testing.T) { + t.Parallel() + var cc perIPConnCounter expectPanic(t, func() { cc.Unregister(123) }) |