Skip to content

feat: pubsub reports dropped messages #7660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove goleak -- lib/pq uses sleeps on notify :-(
Signed-off-by: Spike Curtis <spike@coder.com>
  • Loading branch information
spikecurtis committed May 25, 2023
commit 8e8d5c51ba58e41386ca71a03b0e18a93d2dab2e
5 changes: 0 additions & 5 deletions coderd/database/pubsub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,13 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.uber.org/goleak"
"golang.org/x/xerrors"

"github.com/coder/coder/coderd/database"
"github.com/coder/coder/coderd/database/postgres"
"github.com/coder/coder/testutil"
)

func TestMain(m *testing.M) {
goleak.VerifyTestMain(m)
}

// nolint:tparallel,paralleltest
func TestPubsub(t *testing.T) {
t.Parallel()
Expand Down