@@ -10,7 +10,9 @@ echo ""
10
10
11
11
host_scales=(10 100 1000 10000 100000 1000000)
12
12
13
- twrap=" timeout 30 time -o run_once.time -a"
13
+ timeout_value=120
14
+
15
+ twrap=" timeout ${timeout_value} time -o run_once.time -a"
14
16
15
17
for host_count in " ${host_scales[@]} "
16
18
do
@@ -28,7 +30,7 @@ echo "**************************************************************************
28
30
echo " Running ansible-playbook with --limit to only select a single host"
29
31
echo " "
30
32
31
- twrap=" timeout 30 time -o playbook_limit.time -a"
33
+ twrap=" timeout ${timeout_value} time -o playbook_limit.time -a"
32
34
33
35
for host_count in " ${host_scales[@]} "
34
36
do
@@ -46,7 +48,7 @@ echo "**************************************************************************
46
48
echo " Running ansible-playbook with destructed inventory plugin to limit to a single host"
47
49
echo " "
48
50
49
- twrap=" timeout 30 time -o playbook_destructed.time -a"
51
+ twrap=" timeout ${timeout_value} time -o playbook_destructed.time -a"
50
52
51
53
for host_count in " ${host_scales[@]} "
52
54
do
@@ -64,7 +66,7 @@ echo "**************************************************************************
64
66
echo " Running ansible-inventory against the specified inventory"
65
67
echo " "
66
68
67
- twrap=" timeout 30 time -o inventory.time -a"
69
+ twrap=" timeout ${timeout_value} time -o inventory.time -a"
68
70
69
71
for host_count in " ${host_scales[@]} "
70
72
do
@@ -82,7 +84,7 @@ echo "**************************************************************************
82
84
echo " Running ansible-inventory with the destructed inventory plugin"
83
85
echo " "
84
86
85
- twrap=" timeout 30 time -o inventory_destructed.time -a"
87
+ twrap=" timeout ${timeout_value} time -o inventory_destructed.time -a"
86
88
87
89
for host_count in " ${host_scales[@]} "
88
90
do
@@ -100,7 +102,7 @@ echo "**************************************************************************
100
102
echo " Running ansible-inventory with --limit to limit to one host"
101
103
echo " "
102
104
103
- twrap=" timeout 30 time -o inventory_limit.time -a"
105
+ twrap=" timeout ${timeout_value} time -o inventory_limit.time -a"
104
106
105
107
for host_count in " ${host_scales[@]} "
106
108
do
0 commit comments