Skip to content

Commit

Permalink
[CBRD-25068] Increase session timeout value for isolation test due to…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
zionyun authored Jul 4, 2024
1 parent d6af05a commit bfe217f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CTP/isolation/ctltool/qactl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit bfe217f

Please sign in to comment.