From b533412d44b555b294dcb5f76ae8af3ab8d08aad Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Thu, 11 Mar 2021 18:00:54 +0100 Subject: [PATCH 1/6] Update run --- frameworks/javascript/prisma/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frameworks/javascript/prisma/run b/frameworks/javascript/prisma/run index e8d73045..5478939b 100755 --- a/frameworks/javascript/prisma/run +++ b/frameworks/javascript/prisma/run @@ -7,6 +7,6 @@ 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; -timeout 3m pnpm run jest integration/mariadb -- --detectOpenHandles --maxConcurrency=1; +timeout 3m pnpm run jest integration/mysql -- --detectOpenHandles --maxConcurrency=1 || true; +timeout 3m pnpm run jest integration/mariadb -- --detectOpenHandles --maxConcurrency=1 || true; From cac4cc2f5f1d14ffdf380f10dae950afd36bbd61 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Thu, 11 Mar 2021 18:02:09 +0100 Subject: [PATCH 2/6] Update run --- frameworks/javascript/prisma/run | 1 - 1 file changed, 1 deletion(-) diff --git a/frameworks/javascript/prisma/run b/frameworks/javascript/prisma/run index 5478939b..44bf0bc6 100755 --- a/frameworks/javascript/prisma/run +++ b/frameworks/javascript/prisma/run @@ -9,4 +9,3 @@ 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; - From 54eca93f1a7bb27056c12db047c6c77507eeedaf Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Thu, 11 Mar 2021 18:26:00 +0100 Subject: [PATCH 3/6] Update run --- frameworks/javascript/prisma/run | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frameworks/javascript/prisma/run b/frameworks/javascript/prisma/run index 44bf0bc6..91f007a8 100755 --- a/frameworks/javascript/prisma/run +++ b/frameworks/javascript/prisma/run @@ -9,3 +9,11 @@ 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}"; + +pnpm run test -- --testPathIgnorePatterns src/__tests__/types/types.test.ts || true; From c8efa28556c1dced0acf24426abd2c3111e46bb7 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Thu, 11 Mar 2021 22:43:12 +0100 Subject: [PATCH 4/6] Update run --- frameworks/javascript/prisma/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/javascript/prisma/run b/frameworks/javascript/prisma/run index 91f007a8..60c54d6d 100755 --- a/frameworks/javascript/prisma/run +++ b/frameworks/javascript/prisma/run @@ -16,4 +16,4 @@ cd ../client export TEST_MYSQL_ISOLATED_URI="${TEST_MYSQL_URI}"; -pnpm run test -- --testPathIgnorePatterns src/__tests__/types/types.test.ts || true; +pnpm run test -- --testPathIgnorePatterns src/__tests__/types/types.test.ts -- --detectOpenHandles || true; From 4c2b192bb0fbb6e671270e13d5875475ebe54290 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Thu, 11 Mar 2021 23:31:23 +0100 Subject: [PATCH 5/6] Update run --- frameworks/javascript/prisma/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/javascript/prisma/run b/frameworks/javascript/prisma/run index 60c54d6d..275bd408 100755 --- a/frameworks/javascript/prisma/run +++ b/frameworks/javascript/prisma/run @@ -16,4 +16,4 @@ cd ../client export TEST_MYSQL_ISOLATED_URI="${TEST_MYSQL_URI}"; -pnpm run test -- --testPathIgnorePatterns src/__tests__/types/types.test.ts -- --detectOpenHandles || true; +pnpm run test -- --detectOpenHandles --testPathIgnorePatterns src/__tests__/types/types.test.ts || true; From 9b85a1bc4075c9ef12f2d30c1d96c33dad4c4c01 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Thu, 11 Mar 2021 23:57:44 +0100 Subject: [PATCH 6/6] Update run --- frameworks/javascript/prisma/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/javascript/prisma/run b/frameworks/javascript/prisma/run index 275bd408..8c43d055 100755 --- a/frameworks/javascript/prisma/run +++ b/frameworks/javascript/prisma/run @@ -16,4 +16,4 @@ cd ../client export TEST_MYSQL_ISOLATED_URI="${TEST_MYSQL_URI}"; -pnpm run test -- --detectOpenHandles --testPathIgnorePatterns src/__tests__/types/types.test.ts || true; +timeout 10m pnpm run test -- --detectOpenHandles --testPathIgnorePatterns src/__tests__/types/types.test.ts || true;