File tree 1 file changed +13
-2
lines changed
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):
1526
1526
stdout , stderr = attach_process .communicate (client_stdin , timeout = 5 )
1527
1527
process .wait ()
1528
1528
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
+
1529
1540
self .assertEqual (process .returncode , 0 )
1530
1541
self .assertEqual (attach_process .returncode , 0 )
1531
1542
@@ -1535,8 +1546,8 @@ def do_integration_test(self, client_stdin):
1535
1546
"stderr" : stderr ,
1536
1547
},
1537
1548
"server" : {
1538
- "stdout" : process . stdout . read () ,
1539
- "stderr" : process . stderr . read () ,
1549
+ "stdout" : client_stdout ,
1550
+ "stderr" : client_stderr ,
1540
1551
},
1541
1552
}
1542
1553
You can’t perform that action at this time.
0 commit comments