Extend procstat_running-based metric alerts.

Related-PROD: PROD-35435
Change-Id: Ic4632e5249094704276627cbfe8a07ae4277b228
diff --git a/keepalived/meta/prometheus.yml b/keepalived/meta/prometheus.yml
index f178816..53f3359 100644
--- a/keepalived/meta/prometheus.yml
+++ b/keepalived/meta/prometheus.yml
@@ -6,6 +6,7 @@
       if: >-
         procstat_running{process_name="keepalived"} == 0
       {% raw %}
+      for: 2m
       labels:
         severity: major
         service: keepalived
@@ -62,6 +63,7 @@
       if: >-
         count(label_replace(procstat_running{process_name="keepalived"}, "cluster", "$1", "host", "([^0-9]+).+")) by (cluster) == count(label_replace(procstat_running{process_name="keepalived"} == 0, "cluster", "$1", "host", "([^0-9]+).+")) by (cluster)
       {% raw %}
+      for: 2m
       labels:
         severity: critical
         service: keepalived
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 2735bf8..a0b7569 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -39,6 +39,7 @@
     source ${VENV_DIR}/bin/activate
     python -m pip install "msgpack<1.0.0" "setuptools<45.0.0"
     python -m pip install salt${PIP_SALT_VERSION}
+    python -m pip install 'msgpack<1.0.0'
 }
 
 setup_pillar() {