Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26e6940 commit 6ae9260Copy full SHA for 6ae9260
kubernetes/e2e_test/test_client.py
@@ -144,7 +144,11 @@ def test_pod_apis(self):
144
self.assertEqual("test string 2", line)
145
resp.write_stdin("exit\n")
146
resp.update(timeout=5)
147
- line = resp.read_channel(ERROR_CHANNEL)
+ while True:
148
+ line = resp.read_channel(ERROR_CHANNEL)
149
+ if line != '':
150
+ break
151
+ time.sleep(1)
152
status = json.loads(line)
153
self.assertEqual(status['status'], 'Success')
154
0 commit comments