1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Revert "Testing adding -j2 to the run_tests.sh script to speed up docker tests"

This reverts commit db2a0ae255, as it does not
add any speed to the tests on Travis.
This commit is contained in:
James Cammarata 2016-03-05 11:50:10 -05:00
parent db2a0ae255
commit e5844ee03d

View file

@ -10,6 +10,6 @@ if [ "${TARGET}" = "sanity" ]; then
else else
docker build -t ansible_test/${TARGET} test/utils/docker/${TARGET} 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 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 -j2)' 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 kill $(cat /tmp/cid_${TARGET}) docker kill $(cat /tmp/cid_${TARGET})
fi fi