mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-21 07:24:36 +00:00
remove unlock checks
This commit is contained in:
@@ -512,15 +512,6 @@ func ensureNoNewRoundStep(t *testing.T, stepCh <-chan tmpubsub.Message) {
|
|||||||
"We should be stuck waiting, not receiving NewRoundStep event")
|
"We should be stuck waiting, not receiving NewRoundStep event")
|
||||||
}
|
}
|
||||||
|
|
||||||
func ensureNoNewUnlock(t *testing.T, unlockCh <-chan tmpubsub.Message) {
|
|
||||||
t.Helper()
|
|
||||||
ensureNoNewEvent(
|
|
||||||
t,
|
|
||||||
unlockCh,
|
|
||||||
ensureTimeout,
|
|
||||||
"We should be stuck waiting, not receiving Unlock event")
|
|
||||||
}
|
|
||||||
|
|
||||||
func ensureNoNewTimeout(t *testing.T, stepCh <-chan tmpubsub.Message, timeout int64) {
|
func ensureNoNewTimeout(t *testing.T, stepCh <-chan tmpubsub.Message, timeout int64) {
|
||||||
t.Helper()
|
t.Helper()
|
||||||
timeoutDuration := time.Duration(timeout*10) * time.Nanosecond
|
timeoutDuration := time.Duration(timeout*10) * time.Nanosecond
|
||||||
@@ -640,12 +631,6 @@ func ensureNewBlockHeader(t *testing.T, blockCh <-chan tmpubsub.Message, height
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func ensureNewUnlock(t *testing.T, unlockCh <-chan tmpubsub.Message, height int64, round int32) {
|
|
||||||
t.Helper()
|
|
||||||
ensureNewEvent(t, unlockCh, height, round, ensureTimeout,
|
|
||||||
"Timeout expired while waiting for NewUnlock event")
|
|
||||||
}
|
|
||||||
|
|
||||||
func ensureLock(t *testing.T, lockCh <-chan tmpubsub.Message, height int64, round int32) {
|
func ensureLock(t *testing.T, lockCh <-chan tmpubsub.Message, height int64, round int32) {
|
||||||
t.Helper()
|
t.Helper()
|
||||||
ensureNewEvent(t, lockCh, height, round, ensureTimeout,
|
ensureNewEvent(t, lockCh, height, round, ensureTimeout,
|
||||||
|
|||||||
Reference in New Issue
Block a user