Skip to content

Commit

Permalink
reduce waiting time
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal-kanna committed Oct 15, 2024
1 parent 818cbef commit 197c1d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/upgrade/integration/v3/pre_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ var _ = Describe("Upgrade - Pre", func() {
Expect(err).To(BeNil())

By("waiting for 10 blocks to be produced on top, after the upgrade")
err = cli.WaitForChainHeight(cli.Validator0, cli.CliBinaryName, currentHeight+3, cli.VotingPeriod*6)
err = cli.WaitForChainHeight(cli.Validator0, cli.CliBinaryName, currentHeight+1, cli.VotingPeriod*2)
Expect(err).To(BeNil())
})

Expand All @@ -194,7 +194,7 @@ var _ = Describe("Upgrade - Pre", func() {
Expect(err).To(BeNil())

By("waiting for 10 blocks to be produced on top, after the upgrade")
err = cli.WaitForChainHeight(cli.Validator0, cli.CliBinaryName, currentHeight+3, cli.VotingPeriod*3)
err = cli.WaitForChainHeight(cli.Validator0, cli.CliBinaryName, currentHeight+1, cli.VotingPeriod*2)
Expect(err).To(BeNil())
})

Expand All @@ -212,7 +212,7 @@ var _ = Describe("Upgrade - Pre", func() {
Expect(err).To(BeNil())

By("waiting for 10 blocks to be produced on top, after the upgrade")
err = cli.WaitForChainHeight(cli.Validator0, cli.CliBinaryName, currentHeight+3, cli.VotingPeriod*6)
err = cli.WaitForChainHeight(cli.Validator0, cli.CliBinaryName, currentHeight+1, cli.VotingPeriod*2)
Expect(err).To(BeNil())
})

Expand Down

0 comments on commit 197c1d6

Please sign in to comment.