This is an automated email from the ASF dual-hosted git repository.

yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit 7c533587c841e6eb1737d2336e1ffd370bf8a265
Author: Adam Lee <[email protected]>
AuthorDate: Wed Mar 23 14:17:37 2022 +0800

    Increase the timeout of isolation2 GlobalShellExecutor
    
    Probably because of the heavy CI load, we observed several timeouts,
    increase the timeout value to work around it.
---
 src/test/isolation2/sql_isolation_testcase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/isolation2/sql_isolation_testcase.py 
b/src/test/isolation2/sql_isolation_testcase.py
index b7fa591b97..a71799977e 100644
--- a/src/test/isolation2/sql_isolation_testcase.py
+++ b/src/test/isolation2/sql_isolation_testcase.py
@@ -132,7 +132,7 @@ class GlobalShellExecutor(object):
         output = ""
         while self.sh_proc.poll() is None:
             # If not returns in 10 seconds, consider it as an fatal error.
-            r, w, e = select.select([self.master_fd], [], [self.master_fd], 10)
+            r, w, e = select.select([self.master_fd], [], [self.master_fd], 30)
             if e:
                 # Terminate the shell when we get any output from stderr
                 o = os.read(self.master_fd, 10240)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to