aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test-scalability.yml
diff options
context:
space:
mode:
authorClément Delafargue <39330590+clementd-fretlink@users.noreply.github.com>2020-06-30 16:31:26 +0200
committerGitHub <noreply@github.com>2020-06-30 16:31:26 +0200
commit90634ee04cc1a4ab983de6bf142f25978463bc4a (patch)
tree3b1fa1a9e85d57dbf4f4071321f9011343f40ac6 /tests/test-scalability.yml
parent44e55b1d81f5defe28249d6b70b894c1ebad7c91 (diff)
parentdb630aaa8b261503076eb7320ee3cee5a5582be8 (diff)
downloadansible-clever-90634ee04cc1a4ab983de6bf142f25978463bc4a.tar.gz
ansible-clever-90634ee04cc1a4ab983de6bf142f25978463bc4a.tar.zst
ansible-clever-90634ee04cc1a4ab983de6bf142f25978463bc4a.zip
Merge pull request #72 from clementd-fretlink/noop-if-up-to-date
don't run `clever deploy` if the app is up-to-date
Diffstat (limited to 'tests/test-scalability.yml')
-rw-r--r--tests/test-scalability.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-scalability.yml b/tests/test-scalability.yml
index 6bb90d2..258beaf 100644
--- a/tests/test-scalability.yml
+++ b/tests/test-scalability.yml
@@ -29,7 +29,7 @@
29 flavors: { min: "nano", max: "XS" } 29 flavors: { min: "nano", max: "XS" }
30 post_tasks: 30 post_tasks:
31 - name: Check stubbed commands 31 - name: Check stubbed commands
32 command: "{{ item.cmd }}" 32 shell: "{{ item.cmd }}"
33 ignore_errors: true 33 ignore_errors: true
34 vars: 34 vars:
35 display: "{{ item.display }}" 35 display: "{{ item.display }}"
@@ -38,7 +38,7 @@
38 display: "Expected 'clever deploy' command to be called" 38 display: "Expected 'clever deploy' command to be called"
39 - cmd: "grep scale ../clever-commands" 39 - cmd: "grep scale ../clever-commands"
40 display: "Expected 'clever scale' command to be called" 40 display: "Expected 'clever scale' command to be called"
41 - cmd: "grep -v restart ../clever-commands" 41 - cmd: "! grep restart ../clever-commands"
42 display: "Expected 'clever restart' command to NOT be called" 42 display: "Expected 'clever restart' command to NOT be called"
43 register: tests_results 43 register: tests_results
44 - name: show results 44 - name: show results