Skip to content

Commit

Permalink
fixed upgrade test
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil-goel committed Dec 5, 2024
1 parent 58ace52 commit a8fa85e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions systest/mutations-and-queries/mutations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2287,6 +2287,14 @@ func (ssuite *SystestTestSuite) CountIndexConcurrentSetDelScalarPredicate() {
gcli, cleanup, err = doGrpcLogin(ssuite)
defer cleanup()
require.NoError(t, err)

op.Schema = `name: string @index(exact) .`
require.NoError(t, gcli.Alter(ctx, op))

// We need to rebuild count index after the mutable map changes
op.Schema = `name: string @index(exact) @count .`
require.NoError(t, gcli.Alter(ctx, op))

_, err = gcli.NewTxn().Mutate(context.Background(), mu)
require.NoError(t, err, "mutation to delete name should have been succeeded")

Expand Down

0 comments on commit a8fa85e

Please sign in to comment.