From 29b411868f2fedbca3fc0aa1368e51ba37000c18 Mon Sep 17 00:00:00 2001 From: Marius Posta Date: Thu, 12 Oct 2023 07:01:06 -0700 Subject: [PATCH] gradle: set user timezone to UTC in all tests (#31305) --- airbyte-cdk/java/airbyte-cdk/db-sources/build.gradle | 1 - build.gradle | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/airbyte-cdk/java/airbyte-cdk/db-sources/build.gradle b/airbyte-cdk/java/airbyte-cdk/db-sources/build.gradle index 45293f47cc73..01cefe94963f 100644 --- a/airbyte-cdk/java/airbyte-cdk/db-sources/build.gradle +++ b/airbyte-cdk/java/airbyte-cdk/db-sources/build.gradle @@ -18,7 +18,6 @@ plugins { } test { - systemProperty 'user.timezone', 'UTC' testLogging { // TODO: Remove this after debugging showStandardStreams = true diff --git a/build.gradle b/build.gradle index 9d92d5d19eba..9e73ca2a0569 100644 --- a/build.gradle +++ b/build.gradle @@ -557,6 +557,8 @@ subprojects { subproj -> } } + systemProperty 'user.timezone', 'UTC' + if (rootProject.ext.skipSlowTests) { // Exclude all connector unit tests exclude '**/io/airbyte/integrations/source/**'