From 64ab7111badd34d73450dc53bac61dad8541e0bd Mon Sep 17 00:00:00 2001 From: Burak Velioglu Date: Thu, 27 Jan 2022 12:41:40 +0300 Subject: [PATCH] Check isolation test --- src/test/regress/expected/isolation_update_node.out | 2 +- src/test/regress/spec/isolation_update_node.spec | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/regress/expected/isolation_update_node.out b/src/test/regress/expected/isolation_update_node.out index 69fdb8c0b..2658ca5ef 100644 --- a/src/test/regress/expected/isolation_update_node.out +++ b/src/test/regress/expected/isolation_update_node.out @@ -158,7 +158,7 @@ nodeid|groupid|nodename |nodeport master_run_on_worker --------------------------------------------------------------------- -(localhost,57638,t,"[{""f1"": 25, ""f2"": 25, ""f3"": ""localhost"", ""f4"": 58637}, {""f1"": 26, ""f2"": 26, ""f3"": ""localhost"", ""f4"": 57638}]") +(localhost,57638,t,"[{""f1"": 10, ""f2"": 10, ""f3"": ""localhost"", ""f4"": 57638}]") (1 row) nodeid|nodename|nodeport diff --git a/src/test/regress/spec/isolation_update_node.spec b/src/test/regress/spec/isolation_update_node.spec index 32b9511e6..a6e108528 100644 --- a/src/test/regress/spec/isolation_update_node.spec +++ b/src/test/regress/spec/isolation_update_node.spec @@ -135,6 +135,8 @@ permutation "s1-begin" "s1-update-node-1" "s2-begin" "s2-update-node-1" "s1-comm // master_update_node should block start_metadata_sync_to_node. Note that we // cannot run start_metadata_sync_to_node in a transaction, so we're not // testing the reverse order here. +// Having different result on coordinator and worker is expected for now since +// we run test after disabling mx. permutation "s1-begin" "s1-update-node-1" "s2-start-metadata-sync-node-2" "s1-commit" "s2-verify-metadata" // make sure we have entries in prepared statement cache