@@ -39,7 +39,7 @@ var _ = Describe("Upgrade - Pre", func() {
3939 Context ("Before a software upgrade execution is initiated" , func () {
4040 It ("should wait for chain to bootstrap" , func () {
4141 By ("pinging the node status until the voting end height is reached" )
42- err := cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , cli .BootstrapHeight , cli .BootstrapPeriod + 20 )
42+ err := cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , cli .BootstrapHeight , cli .BootstrapPeriod + 5 )
4343 Expect (err ).To (BeNil ())
4444 })
4545
@@ -67,7 +67,7 @@ var _ = Describe("Upgrade - Pre", func() {
6767 By ("waiting for an additional set of blocks to be produced" )
6868 height , err := cli .GetCurrentBlockHeight (cli .Validator0 , cli .CliBinaryName )
6969 Expect (err ).To (BeNil ())
70- err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , height + 5 , cli .VotingPeriod * 6 )
70+ err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , height + 5 , cli .VotingPeriod * 2 )
7171 Expect (err ).To (BeNil ())
7272 }
7373 })
@@ -107,7 +107,7 @@ var _ = Describe("Upgrade - Pre", func() {
107107 By ("waiting for an additional set of blocks to be produced" )
108108 height , err := cli .GetCurrentBlockHeight (cli .Validator0 , cli .CliBinaryName )
109109 Expect (err ).To (BeNil ())
110- err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , height + 5 , cli .VotingPeriod * 6 )
110+ err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , height + 5 , cli .VotingPeriod * 2 )
111111 Expect (err ).To (BeNil ())
112112 }
113113 })
@@ -137,7 +137,7 @@ var _ = Describe("Upgrade - Pre", func() {
137137 Expect (err ).To (BeNil ())
138138
139139 By ("waiting for 10 blocks to be produced on top, after the upgrade" )
140- err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , currentHeight + 3 , cli .VotingPeriod * 3 )
140+ err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , currentHeight + 3 , cli .VotingPeriod * 1 )
141141 Expect (err ).To (BeNil ())
142142 })
143143
@@ -154,7 +154,7 @@ var _ = Describe("Upgrade - Pre", func() {
154154 Expect (err ).To (BeNil ())
155155
156156 By ("waiting for the proposal to be included in a block" )
157- err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , currentHeight + 3 , cli .VotingPeriod * 3 )
157+ err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , currentHeight + 3 , cli .VotingPeriod * 1 )
158158 Expect (err ).To (BeNil ())
159159 })
160160
@@ -171,7 +171,7 @@ var _ = Describe("Upgrade - Pre", func() {
171171 Expect (err ).To (BeNil ())
172172
173173 By ("waiting for 10 blocks to be produced on top, after the upgrade" )
174- err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , currentHeight + 1 , cli .VotingPeriod * 2 )
174+ err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , currentHeight + 1 , cli .VotingPeriod * 1 )
175175 Expect (err ).To (BeNil ())
176176 })
177177
@@ -188,7 +188,7 @@ var _ = Describe("Upgrade - Pre", func() {
188188 Expect (err ).To (BeNil ())
189189
190190 By ("waiting for 10 blocks to be produced on top, after the upgrade" )
191- err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , currentHeight + 1 , cli .VotingPeriod * 2 )
191+ err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , currentHeight + 1 , cli .VotingPeriod * 1 )
192192 Expect (err ).To (BeNil ())
193193 })
194194
@@ -205,7 +205,7 @@ var _ = Describe("Upgrade - Pre", func() {
205205 Expect (err ).To (BeNil ())
206206
207207 By ("waiting for 10 blocks to be produced on top, after the upgrade" )
208- err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , currentHeight + 1 , cli .VotingPeriod * 2 )
208+ err = cli .WaitForChainHeight (cli .Validator0 , cli .CliBinaryName , currentHeight + 1 , cli .VotingPeriod * 1 )
209209 Expect (err ).To (BeNil ())
210210 })
211211
0 commit comments