From bfe217fea0047ef56347985101215148c9b1d06e Mon Sep 17 00:00:00 2001 From: zionyun <41980125+zionyun@users.noreply.github.com> Date: Thu, 4 Jul 2024 09:12:36 +0900 Subject: [PATCH] [CBRD-25068] Increase session timeout value for isolation test due to performance degradation from memory monitoring (#673) Due to memory monitoring, the performance of the debug mode has decreased, which is expected. In the Isolation debug test, the timeout for a session is set to 30 seconds, causing some queries to exceed this limit and resulting in failed test cases. To address this issue, the 'SHORT_DURATION_DEFAULT' value is increased from 30 seconds to 100 seconds. --- CTP/isolation/ctltool/qactl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CTP/isolation/ctltool/qactl.c b/CTP/isolation/ctltool/qactl.c index 70e9d721a..d83f10240 100644 --- a/CTP/isolation/ctltool/qactl.c +++ b/CTP/isolation/ctltool/qactl.c @@ -88,7 +88,7 @@ extern int local_tm_isblocked (int tran_index); #define STRESSEXEC_TOKEN STRESSEXEC_CMDNAME #define SLEEP_MSECS 10 -#define SHORT_DURATION_DEFAULT (30000) /* 30 seconds */ +#define SHORT_DURATION_DEFAULT (100000) /* 100 seconds */ #define LONG_DURATION_DEFAULT (300000) /* 300 seconds */ #define VALID_CLIENT_ID(TBL, ID) (((ID) > 0) && ((ID) <= (TBL)->slotsinuse))