diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3dec5d3..d93fbba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,11 +25,9 @@ jobs: run: go get -t -v ./... - name: Go vet run: go vet ./... - - name: Run spec tests - run: go test -v ./... -tags='norace' - - name: Run all tests with race detection + - name: Run isolated bad test timeout-minutes: 1 - run: go test -race -covermode atomic -coverprofile=profile.cov -v ./... -tags='!norace' + run: go test -run TestClientWithoutListener -race -v - name: Send coverage uses: shogo82148/actions-goveralls@v1 with: diff --git a/client.go b/client.go index 606819f..8f0cfb5 100644 --- a/client.go +++ b/client.go @@ -113,6 +113,8 @@ func NewClient(options ...ConfigOption) (*Client, error) { } if uc.options.listener == nil { + //print out a silly debug line! + fmt.Printf("No listener provided, using noop listener\n") uc.options.listener = &NoopListener{} }