From 7a2bc47486accd1b1f55069b4f1db3781d7710b0 Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Wed, 21 Sep 2022 17:16:24 -0400 Subject: [PATCH] fix: test: flaky TestDeadlineToggling around nulls (#9354) --- itests/deadlines_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itests/deadlines_test.go b/itests/deadlines_test.go index a00c33b68..18f68150b 100644 --- a/itests/deadlines_test.go +++ b/itests/deadlines_test.go @@ -185,7 +185,7 @@ func TestDeadlineToggling(t *testing.T) { require.NoError(t, err) // 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() require.NoError(t, err) require.Equal(t, activeIfCron, act)