Skip to content

Commit

Permalink
fix: Add mock query in TestCreateLookupVindexFailures
Browse files Browse the repository at this point in the history
Signed-off-by: Noble Mittal <[email protected]>
  • Loading branch information
beingnoble03 committed Oct 4, 2024
1 parent 6c454ac commit 1f30481
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion go/vt/vtctl/workflow/materializer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2466,7 +2466,10 @@ func TestCreateLookupVindexFailures(t *testing.T) {
},
},
},
vrepExecQueries: []string{"CREATE TABLE `t1_lkp` (\n`c1` INT,\n `keyspace_id` varbinary(128),\n PRIMARY KEY (`c1`)\n)"},
vrepExecQueries: []string{
"select 1 from `t1_lkp` limit 1",
"CREATE TABLE `t1_lkp` (\n`c1` INT,\n `keyspace_id` varbinary(128),\n PRIMARY KEY (`c1`)\n)",
},
createRequest: &createVReplicationWorkflowRequestResponse{
req: nil, // We don't care about defining it in this case
res: &tabletmanagerdatapb.CreateVReplicationWorkflowResponse{},
Expand Down

0 comments on commit 1f30481

Please sign in to comment.