Skip to content

Commit 451e983

Browse files
committed
skip TestPurge with dbmem
1 parent a3ae2f0 commit 451e983

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

coderd/database/dbpurge/dbpurge_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ func TestMain(m *testing.M) {
4141
//
4242
//nolint:paralleltest // It uses LockIDDBPurge.
4343
func TestPurge(t *testing.T) {
44+
if !dbtestutil.WillUsePostgres() {
45+
t.Skip("requires postgres")
46+
}
4447
ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitShort)
4548
defer cancel()
4649

0 commit comments

Comments
 (0)