add more delays to verify that this is not a reason for flaky tests

Signed-off-by: Artem Navoiev <tenmozes@gmail.com>
This commit is contained in:
Artem Navoiev 2024-04-02 16:22:36 +02:00
parent daa1326b98
commit 76b1fc6ac1
No known key found for this signature in database
GPG key ID: BE7B8368E3432014

View file

@ -241,8 +241,9 @@ func tearDown() {
func TestWriteRead(t *testing.T) {
t.Run("write", testWrite)
time.Sleep(500 * time.Millisecond)
vmstorage.Storage.DebugFlush()
time.Sleep(1 * time.Second)
time.Sleep(1500 * time.Millisecond)
t.Run("read", testRead)
}