From 847a08bc6694aa7e19db68b0f38a6e0840106a95 Mon Sep 17 00:00:00 2001 From: zhannngchen <48427519+zhannngchen@users.noreply.github.com> Date: Wed, 6 Nov 2024 14:10:29 +0800 Subject: [PATCH] [fix](regression) test_primary_key_partial_update fail due to the U.S. change from DST to standard time (#43288) (#43300) cherry-pick #43288 --- .../unique_with_mow_p0/partial_update/test_partial_update.out | 4 ++-- .../partial_update/test_partial_update.groovy | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regression-test/data/unique_with_mow_p0/partial_update/test_partial_update.out b/regression-test/data/unique_with_mow_p0/partial_update/test_partial_update.out index 70c57c2555e58e..6c611c00030e9e 100644 --- a/regression-test/data/unique_with_mow_p0/partial_update/test_partial_update.out +++ b/regression-test/data/unique_with_mow_p0/partial_update/test_partial_update.out @@ -39,7 +39,7 @@ 1 -- !select_timestamp2 -- -11 +1 -- !select_date -- 1 @@ -90,7 +90,7 @@ B 1 -- !select_timestamp2 -- -11 +1 -- !select_date -- 1 diff --git a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy index ea3dde5bf5b3f2..9643f9501ed48a 100644 --- a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy +++ b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy @@ -207,7 +207,7 @@ suite("test_primary_key_partial_update", "p0") { qt_select_timestamp "select count(*) from ${tableName} where `ctime` > \"1970-01-01\"" - sql "set time_zone = 'America/New_York'" + sql "set time_zone = 'Asia/Tokyo'" Thread.sleep(5000)