fix: test: flaky TestDeadlineToggling around nulls (#9354)
This commit is contained in:
parent
24c536fed0
commit
7a2bc47486
@ -185,7 +185,7 @@ func TestDeadlineToggling(t *testing.T) {
|
|||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
// cron happened on the same epoch some other condition would have happened
|
// cron happened on the same epoch some other condition would have happened
|
||||||
if di.Open == ts.Height() {
|
if di.Open <= ts.Height() {
|
||||||
act, err := mst.DeadlineCronActive()
|
act, err := mst.DeadlineCronActive()
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, activeIfCron, act)
|
require.Equal(t, activeIfCron, act)
|
||||||
|
Loading…
Reference in New Issue
Block a user