featurebase/qa/testcases/bug-repros/run-all.sh
Seebs cd6125dfc6 squash auth tests into regular smoke tests, improve smoke tests
This is a bit complicated and entangled, sorry.

First, we squash the auth-based smoke tests into the regular smoke
tests; we just run all the tests with auth on and that way we don't
need to spin up an entire separate cluster of machines just to run
a single query against them.

We improve the error detection, and standardize the jq-to-get-config
code. The purpose of this is to try to make sure that, if we actually
hit a failure and get "null" for a host name, we report *that*
as an error, rather than running ahead and producing 20+ separate
reports that ssh failed because it couldn't find a host named null.
2022-09-30 11:23:17 -07:00

10 lines
210 B
Bash
Executable file

#!/usr/bin/env bash
set -eou pipefail
. ./config.sh
export DATAGEN="/data/datagen_linux_arm64 --auth-token ${ADMIN_TOKEN}"
for file in `ls *-test.sh`; do
echo "running $file";
sh -x ./$file "$@"
done