[system/kio-snapshot] autotests: autotests: try to make them less flaky on CI part 2

Bharadwaj Raju <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 46df6e01f159253fc0f7f34f8a25c56156789140 by Bharadwaj Raju.
Committed on 14/08/2026 at 18:14.
Pushed by bharadwaj-raju into branch 'master'.

autotests: try to make them less flaky on CI part 2

M  +3    -0    autotests/prep_btrfs.sh

https://invent.kde.org/system/kio-snapshot/-/commit/46df6e01f159253fc0f7f34f8a25c56156789140

diff --git a/autotests/prep_btrfs.sh b/autotests/prep_btrfs.sh
index 8d61d68..a0b66c7 100644
--- a/autotests/prep_btrfs.sh
+++ b/autotests/prep_btrfs.sh
@@ -36,6 +36,9 @@ sudo btrfs subvolume snapshot butter-tray/sub butter-tray/@sub-after-additions
 rm butter-tray/sub/vol.txt
 sudo btrfs subvolume snapshot butter-tray/sub butter-tray/@sub-after-removal
 echo "again" > butter-tray/sub/vol.txt
+sudo btrfs filesystem sync butter-tray
+sudo btrfs filesystem sync butter-tray/sub
+sleep 1
 sudo btrfs subvolume snapshot butter-tray/sub butter-tray/@sub-after-recreation
 
 sudo btrfs filesystem sync butter-tray
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.