Skip to content

Commit

Permalink
roachtest: add more exceptions to bank/zerosum-restart
Browse files Browse the repository at this point in the history
Fixes cockroachdb#33683.

Release note: None
  • Loading branch information
tbg committed Jan 14, 2019
1 parent 6749d81 commit 29f70cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/cmd/roachtest/bank.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ func (s *bankState) startSplitMonkey(ctx context.Context, d time.Duration, c *cl
}

func isExpectedRelocateError(err error) bool {
return testutils.IsError(err, "(descriptor changed|unable to remove replica .* which is not present|unable to add replica .* which is already present|received invalid ChangeReplicasTrigger .* to remove self|breaker open)")
return testutils.IsError(err, "(descriptor changed|unable to remove replica .* which is not present|unable to add replica .* which is already present|received invalid ChangeReplicasTrigger .* to remove self|breaker open|cannot up-replicate|error looking up store)")
}

func accountDistribution(r *rand.Rand) *rand.Zipf {
Expand Down Expand Up @@ -531,8 +531,6 @@ func runBankNodeZeroSum(ctx context.Context, t *test, c *cluster) {
c.l.Printf("%d transfers (%.1f/sec) in %.1fs\n", count, float64(count)/elapsed, elapsed)
}

var _ = runBankZeroSumRestart

func runBankZeroSumRestart(ctx context.Context, t *test, c *cluster) {
c.Put(ctx, cockroach, "./cockroach")
c.Start(ctx, t)
Expand Down

0 comments on commit 29f70cc

Please sign in to comment.