Browse code

[stable-2.8] Pin psutil version in pids test (#70716)

Sam Doran authored on 2020/07/18 05:58:00
Showing 1 changed files
... ...
@@ -3,10 +3,10 @@
3 3
 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
4 4
 - name: "Installing the psutil module"
5 5
   pip:
6
-    name: psutil
6
+    name: psutil==5.6.7
7 7
 
8
-- name: "Checking the empty result" 
9
-  pids: 
8
+- name: "Checking the empty result"
9
+  pids:
10 10
     name: "blahblah"
11 11
   register: emptypids
12 12
 
... ...
@@ -14,7 +14,7 @@
14 14
   assert:
15 15
     that:
16 16
     - emptypids is not changed
17
-    - emptypids.pids == [] 
17
+    - emptypids.pids == []
18 18
 
19 19
 - name: "Picking a random process name"
20 20
   command: "echo 'some-random-long-name-{{ 99999999 | random }}'"