Skip to content

Commit

Permalink
Add unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <mattalord@gmail.com>
  • Loading branch information
mattlord committed Feb 18, 2025
1 parent b5af7a5 commit 71439f8
Show file tree
Hide file tree
Showing 2 changed files with 1,043 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtctl/workflow/materializer_env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ func (tmc *testMaterializerTMClient) ReadVReplicationWorkflows(ctx context.Conte
streams := make([]*tabletmanagerdatapb.ReadVReplicationWorkflowResponse_Stream, len(tmc.sourceShards))
for i, shard := range tmc.sourceShards {
streams[i] = &tabletmanagerdatapb.ReadVReplicationWorkflowResponse_Stream{
Id: 1,
Id: int32(i + 1),
State: binlogdatapb.VReplicationWorkflowState_Running,
Bls: &binlogdatapb.BinlogSource{
Keyspace: tmc.keyspace,
Expand Down
Loading

0 comments on commit 71439f8

Please sign in to comment.