From d68c33830495637341bb702c6db3b6447aac02ff Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 4 Jan 2021 12:27:26 +0530 Subject: [PATCH] Wait for write and check data, fixes test failure --- kitty_tests/graphics.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty_tests/graphics.py b/kitty_tests/graphics.py index 6560f8df7..fc268afde 100644 --- a/kitty_tests/graphics.py +++ b/kitty_tests/graphics.py @@ -211,6 +211,8 @@ class TestGraphics(BaseTest): data.clear() for i in range(25): self.assertIsNone(add(i, f'{i}' * i)) + dc.wait_for_write() + check_data() before = dc.size_on_disk() while dc.total_size > before // 3: