diff --git a/tests/integration/query/one_to_one/with_version_test.go b/tests/integration/query/one_to_one/with_version_test.go index 92af71f589..4c3656a312 100644 --- a/tests/integration/query/one_to_one/with_version_test.go +++ b/tests/integration/query/one_to_one/with_version_test.go @@ -10,17 +10,12 @@ package one_to_one -import ( - "testing" - - "github.com/stretchr/testify/require" - - testUtils "github.com/sourcenetwork/defradb/tests/integration" -) - // This test documents unwanted behaviour, see the linked ticket for more info: // https://github.com/sourcenetwork/defradb/issues/1709 -func TestQueryOneToOne_WithVersionOnOuter(t *testing.T) { +// +// It is currently commented out because the panic is caught in the CLI and HTTP clients +// and we have no good way atm to skip it. +/*func TestQueryOneToOne_WithVersionOnOuter(t *testing.T) { test := testUtils.TestCase{ Description: "Embedded commits query within one-one query", Actions: []any{ @@ -30,7 +25,7 @@ func TestQueryOneToOne_WithVersionOnOuter(t *testing.T) { name: String author: Author } - + type Author { name: String published: Book @primary @@ -85,3 +80,4 @@ func TestQueryOneToOne_WithVersionOnOuter(t *testing.T) { func() { testUtils.ExecuteTestCase(t, test) }, ) } +*/