Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Bug Fixes for the eosio-test-stability Pipeline #10465

Merged
merged 2 commits into from
Jun 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cicd/eosio-test-stability.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ROUNDS='ℕ' # natural number defining the number of gated rounds of
ROUND_SIZE='ℕ' # number of test steps to generate per operating system, per round
SKIP_MAC='true|false' # conserve finite macOS Anka agents by excluding them from your testing
TEST='name' # PCRE expression defining the tests to run, preceded by '^' and followed by '$'
TIMEOUT='ℕ' # set timeout in minutes for all Buildkite steps
```
The `TEST` variable is parsed as [pearl-compatible regular expression](https://www.debuggex.com/cheatsheet/regex/pcre) where the expression in `TEST` is preceded by `^` and followed by `$`. To specify one test, set `TEST` equal to the test name (e.g. `TEST='read_only_query'`). Specify two tests as `TEST='(nodeos_short_fork_take_over_lr_test|read_only_query)'`. Or, perhaps, you want all of the `restart_scenarios` tests. Then, you could define `TEST='restart-scenario-test-.*'` and Buildkite will generate `ROUND_SIZE` steps each round for each operating system for all three restart scenarios tests.

Expand Down
2 changes: 1 addition & 1 deletion scripts/long-running-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eo pipefail
# variables
echo "--- $([[ "$BUILDKITE" == 'true' ]] && echo ':evergreen_tree: ')Configuring Environment"
GIT_ROOT="$(dirname $BASH_SOURCE[0])/.."
[[ -z "$TEST" ]] && export TEST="$1"
[[ -z "$1" ]] || export TEST="$1"
if [[ "$(uname)" == 'Linux' ]]; then
. /etc/os-release
if [[ "$ID" == 'centos' ]]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/serial-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eo pipefail
# variables
echo "--- $([[ "$BUILDKITE" == 'true' ]] && echo ':evergreen_tree: ')Configuring Environment"
GIT_ROOT="$(dirname $BASH_SOURCE[0])/.."
[[ -z "$TEST" ]] && export TEST="$1"
[[ -z "$1" ]] || export TEST="$1"
if [[ "$(uname)" == 'Linux' ]]; then
. /etc/os-release
if [[ "$ID" == 'centos' ]]; then
Expand Down