* Run failed_tests/cli once per node
* force failures for testing
* Revert "force failures for testing"
This reverts commit 3ddd9240fe
.
41 lines
983 B
Bash
Executable file
41 lines
983 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
if [[ -z "$IS_PIPELINE_JOB" ]] ; then
|
|
trap 'node "$KIBANA_DIR/src/dev/failed_tests/cli"' EXIT
|
|
fi
|
|
|
|
export TEST_BROWSER_HEADLESS=1
|
|
|
|
echo " -> Running mocha tests"
|
|
cd "$XPACK_DIR"
|
|
checks-reporter-with-killswitch "X-Pack Mocha" yarn test
|
|
echo ""
|
|
echo ""
|
|
|
|
echo " -> Running jest tests"
|
|
cd "$XPACK_DIR"
|
|
checks-reporter-with-killswitch "X-Pack Jest" node scripts/jest --ci --verbose
|
|
echo ""
|
|
echo ""
|
|
|
|
echo " -> Running SIEM cyclic dependency test"
|
|
cd "$XPACK_DIR"
|
|
checks-reporter-with-killswitch "X-Pack SIEM cyclic dependency test" node legacy/plugins/siem/scripts/check_circular_deps
|
|
echo ""
|
|
echo ""
|
|
|
|
# FAILING: https://github.com/elastic/kibana/issues/44250
|
|
# echo " -> Running jest contracts tests"
|
|
# cd "$XPACK_DIR"
|
|
# SLAPSHOT_ONLINE=true CONTRACT_ONLINE=true node scripts/jest_contract.js --ci --verbose
|
|
# echo ""
|
|
# echo ""
|
|
|
|
# echo " -> Running jest integration tests"
|
|
# cd "$XPACK_DIR"
|
|
# node scripts/jest_integration --ci --verbose
|
|
# echo ""
|
|
# echo ""
|