From 325a6fbccc04c2567fe701a72d7e4e5b5a84ff9d Mon Sep 17 00:00:00 2001 From: Cody Littley Date: Tue, 12 Nov 2024 10:07:39 -0600 Subject: [PATCH] Fix test flake. Signed-off-by: Cody Littley --- common/kvstore/tablestore/ttl_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/kvstore/tablestore/ttl_test.go b/common/kvstore/tablestore/ttl_test.go index 136fa90cbe..6d9d6d794f 100644 --- a/common/kvstore/tablestore/ttl_test.go +++ b/common/kvstore/tablestore/ttl_test.go @@ -62,7 +62,7 @@ func TestExpiryKeyOrdering(t *testing.T) { aTime, _ := parsePrependedTimestamp(a) bTime, _ := parsePrependedTimestamp(b) - assert.True(t, aTime.Before(bTime)) + assert.True(t, aTime.Before(bTime) || aTime.Equal(bTime)) } }