Skip to content

Commit

Permalink
roachtest: tpccbench: ignore error from c.Reset
Browse files Browse the repository at this point in the history
See
cockroachdb#61981 (comment).

Release note: None
  • Loading branch information
tbg committed Apr 26, 2021
1 parent d72b855 commit f797050
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/cmd/roachtest/tpcc.go
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,10 @@ func runTPCCBench(ctx context.Context, t *test, c *cluster, b tpccBenchSpec) {
// of starting warehouses. Do a best-effort at waiting for the cloud VM(s)
// to recover without failing the line search.
if err := c.Reset(ctx); err != nil {
t.Fatal(err)
// Reset() can flake sometimes, see for example:
// https://github.com/cockroachdb/cockroach/issues/61981#issuecomment-826838740
c.l.Printf("failed to reset VMs, proceeding anyway: %s", err)
_ = err // intentionally continuing
}
var ok bool
for i := 0; i < 10; i++ {
Expand Down

0 comments on commit f797050

Please sign in to comment.