Round reminder time to avoid flakiness

This commit is contained in:
Tomaž Jerman
2019-10-29 10:06:14 +01:00
committed by Denis Arh
parent d97bde3525
commit bf66c632be
+1 -1
View File
@@ -105,7 +105,7 @@ func TestReminderListAssignee(t *testing.T) {
func TestReminderListDateRange(t *testing.T) {
h := newHelper(t)
nn := time.Now()
nn := time.Now().Round(time.Millisecond).Round(time.Second)
// Out of range
h.repoMakeReminder("test_lrn_ol_namespace:*", nil, 0, h.tPtr(nn.Add(time.Hour*-2)))