diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-11-11 15:57:00 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-11-11 16:58:20 +0100 |
commit | b38564b8dc8a1e26f1937158dc7fc2d7c0b0804c (patch) | |
tree | 10b224f2f0033836fe19fffb6ef7064d8679aaad | |
parent | de3d054f7803bad12e395cb0bd099c0c9c396668 (diff) | |
download | lvm2-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.sh | 2 |
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 |