mirror of
https://github.com/axllent/mailpit.git
synced 2025-08-15 20:13:16 +02:00
Test: Add small delay in POP3 test after disconnection to allow for background deletion in rqlite
This commit is contained in:
@@ -100,6 +100,9 @@ func TestPOP3(t *testing.T) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// allow for background delete when using rqlite driver
|
||||||
|
time.Sleep(time.Millisecond * 200)
|
||||||
|
|
||||||
c, err = connectAuth()
|
c, err = connectAuth()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf(err.Error())
|
t.Errorf(err.Error())
|
||||||
|
Reference in New Issue
Block a user