From 0b44af38eaf6f53e7abf6c1c559ab3419e7b0bbc Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 10 Oct 2023 15:46:27 -0700 Subject: 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 --- jest/dev-infra/with-test-redis-and-db.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 jest/dev-infra/with-test-redis-and-db.sh (limited to 'jest/dev-infra/with-test-redis-and-db.sh') 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 "$@" -- cgit 1.4.1