From 197c1d64124bcf42ef4b693a0d1935f3584f90e4 Mon Sep 17 00:00:00 2001 From: vishal Date: Tue, 15 Oct 2024 15:17:17 +0530 Subject: [PATCH] reduce waiting time --- tests/upgrade/integration/v3/pre_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/upgrade/integration/v3/pre_test.go b/tests/upgrade/integration/v3/pre_test.go index 4c778387f..2e43e2b18 100644 --- a/tests/upgrade/integration/v3/pre_test.go +++ b/tests/upgrade/integration/v3/pre_test.go @@ -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()) }) @@ -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()) }) @@ -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()) })