File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -1526,6 +1526,17 @@ def do_integration_test(self, client_stdin):
15261526 stdout , stderr = attach_process .communicate (client_stdin , timeout = 5 )
15271527 process .wait ()
15281528
1529+ client_stdout = process .stdout .read ()
1530+ client_stderr = process .stderr .read (),
1531+
1532+ if process .returncode != 0 :
1533+ print ("server failed:" )
1534+ print (stderr )
1535+
1536+ if attach_process .returncode != 0 :
1537+ print ("client failed:" )
1538+ print (client_stderr )
1539+
15291540 self .assertEqual (process .returncode , 0 )
15301541 self .assertEqual (attach_process .returncode , 0 )
15311542
@@ -1535,8 +1546,8 @@ def do_integration_test(self, client_stdin):
15351546 "stderr" : stderr ,
15361547 },
15371548 "server" : {
1538- "stdout" : process . stdout . read () ,
1539- "stderr" : process . stderr . read () ,
1549+ "stdout" : client_stdout ,
1550+ "stderr" : client_stderr ,
15401551 },
15411552 }
15421553
You can’t perform that action at this time.
0 commit comments