Skip to content

Commit

Permalink
[devtools] Release script workaround for spec test flakiness.
Browse files Browse the repository at this point in the history
Still need a real fix for #330.
  • Loading branch information
Andy Chu committed Nov 17, 2021
1 parent 8d1e61f commit 3f2dbb4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions devtools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,14 @@ make-release-branch() {
# For redoing a release. This is everything until you have to 'git pull' the
# benchmark-data repo to make reports.
auto-machine1() {
local resume=${1:-} # workaround for spec test flakiness bug

sudo -k; sudo true # clear and re-cache credentials

$0 build-and-test
if test -z "$resume"; then
$0 build-and-test # Note: spec tests run here
fi

$0 metrics # this can catch bugs
test/wild.sh all
$0 test-opy
Expand Down Expand Up @@ -357,9 +362,7 @@ build-and-test() {

# App bundle
_release-build
_test-release-build

# We're now ready to run 'benchmarks/auto.sh all'.
_test-release-build # Note: spec tests run here
}

_install() {
Expand Down

0 comments on commit 3f2dbb4

Please sign in to comment.