From fbab5d2313f364598ae47a98e407a0b4b4351054 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 29 Dec 2018 16:47:15 -0500 Subject: [PATCH] tests: balance circleci tests This will help with test keep test times low --- .circleci/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aa3d1c825..056410ca2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,9 +16,10 @@ jobs: sudo ip a a 10.0.0.2/24 broadcast 10.0.0.255 dev eth0 - run: | case $CIRCLE_NODE_INDEX in - 0) sudo -E make -e lint ;; - 1) sudo -E make -e go-tests ci-go-coverage;; - 2) sudo -E make -e deploy-test-checks-root deploy-test-config deploy-test-multi deploy-test-go-fail-predeploy deploy-test-go-fail-postdeploy ;; + 0) sudo -E make -e lint go-tests ci-go-coverage ;; + 1) sudo -E make -e deploy-test-checks-root deploy-test-config ;; + 2) sudo -E make -e deploy-test-multi ;; + 3) sudo -E make -e deploy-test-go-fail-predeploy deploy-test-go-fail-postdeploy ;; esac - run: shell: /bin/bash