summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2016-11-11 15:57:00 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2016-11-11 16:58:20 +0100
commitb38564b8dc8a1e26f1937158dc7fc2d7c0b0804c (patch)
tree10b224f2f0033836fe19fffb6ef7064d8679aaad
parentde3d054f7803bad12e395cb0bd099c0c9c396668 (diff)
downloadlvm2-b38564b8dc8a1e26f1937158dc7fc2d7c0b0804c.tar.gz
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
-rw-r--r--test/lib/aux.sh2
1 files changed, 1 insertions, 1 deletions
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