diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-10-10 15:46:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 15:46:27 -0700 |
commit | 0b44af38eaf6f53e7abf6c1c559ab3419e7b0bbc (patch) | |
tree | 51753833831d1e110eb0c4ab24de51e1df997e9f /jest/dev-infra/with-test-redis-and-db.sh | |
parent | aad8d12ededa49d5c69e4ddf85993425723be8dd (diff) | |
download | voidsky-0b44af38eaf6f53e7abf6c1c559ab3419e7b0bbc.tar.zst |
Update testrunner to use new dev-env [WIP] (#1575)
* Update testrunner to use new dev-env * Fix label testcase * Vendor the dev-infra scripts from the atproto repo for the dev-env server runner * Bump detox to fix the ios sim control issue * Use iphone 15 pro for tests * Ensure the reminders never trigger during tests * Skip the shell tests due to a crash bug with detox and the drawer
Diffstat (limited to 'jest/dev-infra/with-test-redis-and-db.sh')
-rwxr-xr-x | jest/dev-infra/with-test-redis-and-db.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/jest/dev-infra/with-test-redis-and-db.sh b/jest/dev-infra/with-test-redis-and-db.sh new file mode 100755 index 000000000..c2b0c75ff --- /dev/null +++ b/jest/dev-infra/with-test-redis-and-db.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +# Example usage: +# ./with-test-redis-and-db.sh psql postgresql://pg:password@localhost:5433/postgres -c 'select 1;' +# ./with-test-redis-and-db.sh redis-cli -h localhost -p 6380 ping + +dir=$(dirname $0) +. ${dir}/_common.sh + +SERVICES="db_test redis_test" main "$@" |