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

@@ -11,7 +11,14 @@ export MYSQL_URL=$(spawn_mysql ${CONTEXT})
export MINIO_URL=$(spawn_minio ${CONTEXT})
export FN_DS_DB_PING_MAX_RETRIES=60
go test -v $(go list ./... | grep -v vendor | grep -v examples | grep -v test/fn-api-tests | grep -v test/fn-system-tests | grep -v images/fn-test-utils)
go test -v $(go list ./... | \
grep -v vendor | \
grep -v examples | \
grep -v test/fn-api-tests | \
grep -v test/fn-system-tests | \
grep -v images/fn-test-utils\
)
go vet $(go list ./... | grep -v vendor)
remove_containers ${CONTEXT}