Skip to content

Commit

Permalink
test: skip ON DELETE CASCADE test on emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
olavloite committed Feb 1, 2024
1 parent 87a4f90 commit eaf5fad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ func TestIntegration_DefaultValue(t *testing.T) {

func TestIntegration_Distinct(t *testing.T) {
skipIfShort(t)
if testutil.RunsOnEmulator() {
t.Skip("ON DELETE CASCADE is not supported on the emulator")
}

t.Parallel()
dsn, cleanup, err := testutil.CreateTestDB(context.Background())
if err != nil {
Expand Down

0 comments on commit eaf5fad

Please sign in to comment.