From 1520143c455aba0cb8b172124ce03116b371d603 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Sat, 14 Jun 2025 12:18:36 +1200 Subject: [PATCH] Test: Add small delay in POP3 test after disconnection to allow for background deletion in rqlite --- internal/pop3/pop3_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/pop3/pop3_test.go b/internal/pop3/pop3_test.go index 2484de7..85d307b 100644 --- a/internal/pop3/pop3_test.go +++ b/internal/pop3/pop3_test.go @@ -100,6 +100,9 @@ func TestPOP3(t *testing.T) { return } + // allow for background delete when using rqlite driver + time.Sleep(time.Millisecond * 200) + c, err = connectAuth() if err != nil { t.Errorf(err.Error())