Skip to content

Commit

Permalink
PR FIXUP - Disable failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Feb 13, 2024
1 parent 77e961e commit 0ea9b05
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions tests/integration/query/one_to_one/with_version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand All @@ -30,7 +25,7 @@ func TestQueryOneToOne_WithVersionOnOuter(t *testing.T) {
name: String
author: Author
}
type Author {
name: String
published: Book @primary
Expand Down Expand Up @@ -85,3 +80,4 @@ func TestQueryOneToOne_WithVersionOnOuter(t *testing.T) {
func() { testUtils.ExecuteTestCase(t, test) },
)
}
*/

0 comments on commit 0ea9b05

Please sign in to comment.