Skip to content

Commit

Permalink
roachtest: fix start args in upgrade test
Browse files Browse the repository at this point in the history
They were all supposed to be removed, but we removed them only in one
instance.

Fixes #33663.

Release note: None
  • Loading branch information
tbg committed Jan 11, 2019
1 parent 6749d81 commit 55f3745
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/cmd/roachtest/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func registerUpgrade(r *registry) {
t.Fatal(err)
}
c.Put(ctx, cockroach, "./cockroach", c.Node(i))
c.Start(ctx, t, c.Node(i), startArgsDontEncrypt)
c.Start(ctx, t, c.Node(i))
if err := sleep(stageDuration); err != nil {
t.Fatal(err)
}
Expand All @@ -159,7 +159,7 @@ func registerUpgrade(r *registry) {
t.Fatal(err)
}
c.Put(ctx, cockroach, "./cockroach", c.Node(nodes))
c.Start(ctx, t, c.Node(nodes), startArgsDontEncrypt)
c.Start(ctx, t, c.Node(nodes))
if err := sleep(stageDuration); err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -200,7 +200,7 @@ func registerUpgrade(r *registry) {
}

// Restart the previously stopped node.
c.Start(ctx, t, c.Node(nodes-1), startArgsDontEncrypt)
c.Start(ctx, t, c.Node(nodes-1))
if err := sleep(stageDuration); err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 55f3745

Please sign in to comment.