Skip to contentSkip to conversation

main - tests: settle after wiping

PATCH Zdenek Kabelac 1 participant 1 message Mar 10, 2021

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=4bbaff1fa621353d0d2adbbf86dd26284b8a11e3
Commit:        4bbaff1fa621353d0d2adbbf86dd26284b8a11e3
Parent:        2cbe88d6a1e9e6f637ee1b5ccdc7b78712d46998
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Mar 10 23:36:03 2021 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Mar 11 00:18:01 2021 +0100

tests: settle after wiping

Add call to settle after wiping device so there is reduced change to meet watch rule race during tests.

---
 test/lib/aux.sh | 1 +
 1 file changed, 1 insertion(+)
test/lib/aux.sh +1 -0
index 0e10a06dd..2e6191d70 100644
@@ -837,6 +837,7 @@ wipefs_a() {
 		lvmdevices --adddev $dev || true
 	fi
 
+	udev_wait
 }
 
 prepare_backing_dev() {