From db2a0ae2551268efac6e39edd2e587c38e7084d6 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Sat, 5 Mar 2016 10:58:12 -0500 Subject: [PATCH] Testing adding -j2 to the run_tests.sh script to speed up docker tests --- test/utils/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils/run_tests.sh b/test/utils/run_tests.sh index 33ac7338d8..87324da221 100755 --- a/test/utils/run_tests.sh +++ b/test/utils/run_tests.sh @@ -10,6 +10,6 @@ if [ "${TARGET}" = "sanity" ]; then else docker build -t ansible_test/${TARGET} test/utils/docker/${TARGET} docker run -d --volume="${PWD}:/root/ansible" ${TARGET_OPTIONS} ansible_test/${TARGET} > /tmp/cid_${TARGET} - docker exec -ti $(cat /tmp/cid_${TARGET}) /bin/sh -c 'cd /root/ansible; . hacking/env-setup; (cd test/integration; LC_ALL=en_US.utf-8 make)' + docker exec -ti $(cat /tmp/cid_${TARGET}) /bin/sh -c 'cd /root/ansible; . hacking/env-setup; (cd test/integration; LC_ALL=en_US.utf-8 make -j2)' docker kill $(cat /tmp/cid_${TARGET}) fi