Skip to content

Commit

Permalink
Skip test when detecting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Nov 11, 2024
1 parent 85bbdc0 commit bf44150
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/integration/query/simple/with_cid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"github.com/sourcenetwork/immutable"
"github.com/stretchr/testify/require"

"github.com/sourcenetwork/defradb/tests/change_detector"
testUtils "github.com/sourcenetwork/defradb/tests/integration"
)

Expand Down Expand Up @@ -46,6 +47,10 @@ func TestQuerySimpleWithInvalidCid(t *testing.T) {
// This test documents a bug:
// https://github.com/sourcenetwork/defradb/issues/3214
func TestQuerySimpleWithCid(t *testing.T) {
if change_detector.Enabled {
t.Skipf("Change detector does not support requiring panics")
}

test := testUtils.TestCase{
SupportedClientTypes: immutable.Some(
[]testUtils.ClientType{
Expand Down

0 comments on commit bf44150

Please sign in to comment.