File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -euo pipefail
4
4
5
- # The GitHub Action runner has 4 cores. Use 3 processes to get good utilization
6
- # but not slow down things too much.
7
- # TODO(radu): replace with a percentage when stress supports it.
8
- PARALLEL=" 3"
9
-
10
5
# Stress all packages, one at a time. This allows for a more useful output.
11
6
for p in $( go list ./... | sed ' s#github.com/cockroachdb/pebble#.#' ) ; do
12
7
echo
15
10
echo " Stressing $p "
16
11
echo " "
17
12
case " $p " in
18
- .|./internal/manifest|./sstable|./wal)
13
+ .|./internal/manifest|./internal/metamorphic|./ sstable|./wal)
19
14
# These packages have a lot of state space to cover, so we give them more
20
- # time.
15
+ # time. We also reduce the number of processes to avoid slowing down each
16
+ # individual run too much.
21
17
MAX_TIME=30m
22
- MAX_RUNS=100
18
+ MAX_RUNS=1000
19
+ PARALLEL=" 75%"
23
20
;;
24
21
* )
25
22
MAX_TIME=5m
26
- MAX_RUNS=100
23
+ MAX_RUNS=1000
24
+ PARALLEL=" 100%"
27
25
;;
28
26
esac
29
27
echo " make stress STRESSFLAGS=\" -maxtime $MAX_TIME -maxruns $MAX_RUNS -p $PARALLEL \" PKG=\" $p \" "
You can’t perform that action at this time.
0 commit comments