From d0440eef25d63e3f862433bfc68c93f21b18cd0e Mon Sep 17 00:00:00 2001 From: sveneh Date: Sun, 25 Jan 2015 23:28:47 +0100 Subject: fixes --- ansible/roles/testrunner/tasks/main.yml | 5 +++-- ansible/test-files/testrunner.sh | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'ansible') diff --git a/ansible/roles/testrunner/tasks/main.yml b/ansible/roles/testrunner/tasks/main.yml index f75c68ce1..b93dc55a9 100644 --- a/ansible/roles/testrunner/tasks/main.yml +++ b/ansible/roles/testrunner/tasks/main.yml @@ -22,12 +22,13 @@ path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-python name: python state: build - async: 3600 + async: 1200 poll: 5 - name: Run infinite tests shell: seq {{ ansible_processor_vcpus }} | parallel --max-args=0 /home/{{ ansible_ssh_user }}/git/ansible/test-files/testrunner.sh - async: "{{ 3600 * 2 }}" + # run for two months + async: "{{ 60 * 60 * 24 * 30 * 2 }}" poll: 0 register: log_runner diff --git a/ansible/test-files/testrunner.sh b/ansible/test-files/testrunner.sh index 4443abdbd..5d7779109 100755 --- a/ansible/test-files/testrunner.sh +++ b/ansible/test-files/testrunner.sh @@ -2,6 +2,7 @@ # create random virtual machine test #cd ~/software/Ethereum/pyethereum (python has local dependencies so only works from within the directory) +cd ~ while [ 1 ] do TEST="$(docker run --rm --entrypoint="/cpp-ethereum/build/test/createRandomTest" cppjit)" -- cgit v1.2.3