-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun
More file actions
executable file
·19 lines (12 loc) · 717 Bytes
/
run
File metadata and controls
executable file
·19 lines (12 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -ex
cd upstream/src/packages/tests;
export TEST_MYSQL_BASE_URI="mysql://${VT_USERNAME}:${VT_PASSWORD}@${VT_HOST}:${VT_PORT}";
export TEST_MYSQL_URI="${TEST_MYSQL_BASE_URI}/${VT_DATABASE}?sslmode=false";
export TEST_MARIADB_BASE_URL="${TEST_MYSQL_BASE_URI}";
export TEST_MARIADB_URI="${TEST_MYSQL_URI}";
timeout 3m pnpm run jest integration/mysql -- --detectOpenHandles --maxConcurrency=1 || true;
timeout 3m pnpm run jest integration/mariadb -- --detectOpenHandles --maxConcurrency=1 || true;
# Client Tests
cd ../client
export TEST_MYSQL_ISOLATED_URI="${TEST_MYSQL_URI}";
timeout 10m pnpm run test -- --detectOpenHandles --testPathIgnorePatterns src/__tests__/types/types.test.ts || true;