Merge pull request #4455 from ryanpetrello/stdout-is-not-missing

remove awxkit logic for working around an old stdout handling bug

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-08-09 20:43:19 +00:00 committed by GitHub
commit 28e3625066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,11 +35,6 @@ class UnifiedJob(HasStatus, base.Base):
return self.connection.get(
self.related.stdout, query_parameters=dict(format='txt_download')
).content.decode()
if str(self.json.get('result_stdout')) == 'stdout capture is missing' and 'stdout' in self.related:
ping = self.walk(resources.ping)
if self.execution_node != ping.active_node:
self.connection.get(self.related.stdout, query_parameters=dict(format='txt_download'))
self.get()
return self.json.result_stdout.decode()
def assert_text_in_stdout(self, expected_text, replace_spaces=None, replace_newlines=' '):