File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ excluded_packages=(
13
13
)
14
14
15
15
# regexes for packages that must be run serially
16
+ # NOTE: these packages are now tested first as they tend to fail more frequently
16
17
serial_packages=(
17
18
" github.com/hyperledger/fabric/gossip"
19
+ " github.com/hyperledger/fabric/orderer/consensus/etcdraft"
18
20
)
19
21
20
22
# packages which need to be tested with build tag pluginsenabled
@@ -82,15 +84,15 @@ run_tests() {
82
84
echo ${GO_TAGS}
83
85
84
86
time {
85
- local parallel=$( parallel_test_packages " $@ " )
86
- if [ -n " ${parallel} " ]; then
87
- go test ${flags} ${race_flags} -tags " $GO_TAGS " ${parallel[@]} -short -timeout=20m
88
- fi
89
-
90
87
local serial=$( serial_test_packages " $@ " ) # race is disabled as well
91
88
if [ -n " ${serial} " ]; then
92
89
go test ${flags} -tags " $GO_TAGS " ${serial[@]} -short -p 1 -timeout=20m
93
90
fi
91
+
92
+ local parallel=$( parallel_test_packages " $@ " )
93
+ if [ -n " ${parallel} " ]; then
94
+ go test ${flags} ${race_flags} -tags " $GO_TAGS " ${parallel[@]} -short -timeout=20m
95
+ fi
94
96
}
95
97
}
96
98
You can’t perform that action at this time.
0 commit comments