Skip to content

Commit dbae769

Browse files
committed
Simplify autobahn tests
No need to test both client and server side.
1 parent 2d35d72 commit dbae769

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

ci/test.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ coveralls: gotest
1111
goveralls -coverprofile=ci/out/coverage.prof -service=github-actions
1212

1313
gotest:
14-
go test -parallel=32 -covermode=count -coverprofile=ci/out/coverage.prof -coverpkg=./... $${TESTFLAGS-} ./...
14+
go test -covermode=count -coverprofile=ci/out/coverage.prof -coverpkg=./... $${GOTESTFLAGS-} ./...
1515
sed -i '/_stringer\.go/d' ci/out/coverage.prof
1616
sed -i '/wsecho\.go/d' ci/out/coverage.prof
1717
sed -i '/assert\.go/d' ci/out/coverage.prof

conn_test.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,14 +1023,7 @@ func TestAutobahn(t *testing.T) {
10231023
t.Run(name, func(t *testing.T) {
10241024
t.Parallel()
10251025

1026-
t.Run("server", func(t *testing.T) {
1027-
t.Parallel()
1028-
run2(t, false)
1029-
})
1030-
t.Run("client", func(t *testing.T) {
1031-
t.Parallel()
1032-
run2(t, true)
1033-
})
1026+
run2(t, true)
10341027
})
10351028
}
10361029

0 commit comments

Comments
 (0)