fn: remove confusing parallelism in test scripts (#1079)

* fn: remove confusing parallelism in test scripts

*) Tests should be consistent when run from makefile versus
running these test scripts from command line. Let go use
GOMAXPROCS instead of hardcoded 4 cpus in Makefile.
*) Moved docker pull for specific image versions into
helpers scripts as well. Easier to maintain image version
for tests in the same place.
*) Minor Makefile cleanup: removed unused makefile targets.

* fn: git-diff rename limit increase
This commit is contained in:
Tolga Ceylan
2018-06-20 13:49:31 -07:00
committed by GitHub
parent 2d9a3f9444
commit c73d3f362e
6 changed files with 33 additions and 21 deletions

View File

@@ -22,6 +22,6 @@ export FN_ENABLE_NB_RESOURCE_TRACKER=1
#
export SYSTEM_TEST_PROMETHEUS_FILE=./prometheus.${DB_NAME}.txt
cd test/fn-system-tests && FN_DB_URL=${FN_DB_URL} FN_API_URL=${FN_API_URL} go test -v -parallel ${2:-1} ./...; cd ../../
cd test/fn-system-tests && FN_DB_URL=${FN_DB_URL} FN_API_URL=${FN_API_URL} go test -v ./...; cd ../../
remove_containers ${CONTEXT}