Skip to content

Commit

Permalink
Address review comment
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
  • Loading branch information
rohit-nayak-ps committed Jun 9, 2023
1 parent dc77283 commit 0201760
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion go/test/endtoend/cluster/vttablet_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ func (vttablet *VttabletProcess) WaitForBinlogServerState(expectedStatus string)
case err := <-vttablet.exit:
return fmt.Errorf("process '%s' exited prematurely (err: %s)", vttablet.Name, err)
case <-ctx.Done():
return fmt.Errorf("vttablet %s, expected status not reached", vttablet.TabletPath)
return fmt.Errorf("vttablet %s, expected status of %s not reached before timeout of %v",
vttablet.TabletPath, expectedStatus, vttabletStateTimeout)
case <-t.C:
}
}
Expand Down

0 comments on commit 0201760

Please sign in to comment.