mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
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:
@@ -28,6 +28,6 @@ export FN_DB_URL=$(spawn_${DB_NAME} ${CONTEXT})
|
||||
#./fn-api-tests.test -test.v -test.parallel ${2:-1} ./...; cd ../../
|
||||
|
||||
export FN_DS_DB_PING_MAX_RETRIES=60
|
||||
cd test/fn-api-tests && FN_API_URL="http://localhost:8080" FN_DB_URL=${FN_DB_URL} go test -v -parallel ${2:-1} ./...; cd ../../
|
||||
cd test/fn-api-tests && FN_API_URL="http://localhost:8080" FN_DB_URL=${FN_DB_URL} go test -v ./...; cd ../../
|
||||
|
||||
remove_containers ${CONTEXT}
|
||||
|
||||
Reference in New Issue
Block a user