Skip to content

Commit

Permalink
Disable caching.
Browse files Browse the repository at this point in the history
  • Loading branch information
alakae committed Apr 22, 2020
1 parent 4113c86 commit 6e1c44f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deploy/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- name: Waiting for servers to come up
pause:
seconds: 30

- name: Register master in inventory
add_host:
hostname: "{{ created_servers.results[0].name }}"
Expand Down Expand Up @@ -106,7 +106,8 @@
tags: [test]
tasks:
- name: "Run the tests"
shell: "KUBECONFIG=$(pwd)/kubeconfig.yml go test -v -tags integration -timeout 20m ../test/..."
# The idiomatic way to bypass test caching is to use -count=1.
shell: "KUBECONFIG=$(pwd)/kubeconfig.yml go test -count=1 -v -tags integration -timeout 20m ../test/..."

- hosts: localhost
tags: [cleanup]
Expand Down

0 comments on commit 6e1c44f

Please sign in to comment.