From b38564b8dc8a1e26f1937158dc7fc2d7c0b0804c Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 11 Nov 2016 15:57:00 +0100 Subject: [PATCH] tests: do not set zero interval in aux lvm.conf 0 interval leads as of now to a busy loop with lvmetad and command. Avoid testing this patological case. TODO: Code should possibly translate zero interval into some small sleep. With lvmpolld it's already 1/10s --- test/lib/aux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/aux.sh b/test/lib/aux.sh index 7187975a8..e4c378063 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -1063,7 +1063,7 @@ generate_config() { cat > "$config_values" <<-EOF activation/checks = 1 activation/monitoring = 0 -activation/polling_interval = 0 +activation/polling_interval = 1 activation/retry_deactivation = 1 activation/snapshot_autoextend_percent = 50 activation/snapshot_autoextend_threshold = 50