From 7a3af8555faedf2cf9a8934aec3969c4bec06bc2 Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Fri, 10 Jan 2020 03:30:07 -0700 Subject: [PATCH] MM-21548: Fix Flakey Test (#13599) * Ensure both DeleteAt and UpdateAt are set to same value * fix another point this could happen * Revert "fix another point this could happen" This reverts commit 5deb102e782bcc1da103b1b10715c066d9cc6130. --- store/storetest/channel_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/storetest/channel_store.go b/store/storetest/channel_store.go index 1d709cd6b5..d7c4948ab1 100644 --- a/store/storetest/channel_store.go +++ b/store/storetest/channel_store.go @@ -3688,7 +3688,7 @@ func testMaterializedPublicChannels(t *testing.T, ss store.Store, s SqlSupplier) }) o1.DeleteAt = model.GetMillis() - o1.UpdateAt = model.GetMillis() + o1.UpdateAt = o1.DeleteAt e := ss.Channel().Delete(o1.Id, o1.DeleteAt) require.Nil(t, e, "channel should have been deleted")