mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Add -failfast flag when the mode is fail_fast
Signed-off-by: Rajalakshmi Girish <rajalakshmi.girish1@ibm.com>
This commit is contained in:
parent
6d11f8ceb5
commit
81fccc13da
@ -293,7 +293,7 @@ function go_test {
|
||||
junit_filename_prefix=$(junitFilenamePrefix)
|
||||
|
||||
if [ "${VERBOSE:-}" == "1" ]; then
|
||||
goTestFlags="-v"
|
||||
goTestFlags="-v "
|
||||
fi
|
||||
|
||||
# Expanding patterns (like ./...) into list of packages
|
||||
@ -308,6 +308,10 @@ function go_test {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${mode}" == "fail_fast" ]; then
|
||||
goTestFlags+="-failfast "
|
||||
fi
|
||||
|
||||
local failures=""
|
||||
|
||||
# execution of tests against packages:
|
||||
|
Loading…
x
Reference in New Issue
Block a user