Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc27864

Browse files
committed
Skip pubsub if short
1 parent 7987596 commit bc27864

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

database/pubsub_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ import (
1717
func TestPubsub(t *testing.T) {
1818
t.Parallel()
1919

20+
if testing.Short() {
21+
t.Skip()
22+
return
23+
}
24+
2025
t.Run("Postgres", func(t *testing.T) {
2126
t.Parallel()
2227
ctx, cancelFunc := context.WithCancel(context.Background())

0 commit comments

Comments
 (0)