Skip to content

Commit

Permalink
disable broken test contrib.docker_runner.test_local_file_mount - cf. #…
Browse files Browse the repository at this point in the history
  • Loading branch information
yonromai committed Feb 19, 2018
1 parent 8501e5d commit feb1dcc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions luigi/contrib/docker_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ def run(self):
self._client.start(container['Id'])

exit_status = self._client.wait(container['Id'])
if 'StatusCode' in exit_status:
exit_status = exit_status['StatusCode']

if exit_status != 0:
stdout = False
stderr = True
Expand All @@ -218,6 +221,9 @@ def run(self):
self.__logger.warning("Container " + container['Id'] +
" could not be removed")
if exit_status != 0:
print '{{{'
print exit_status
print '}}}'
raise ContainerError(container, exit_status, self.command, self._image, error)

except ContainerError as e:
Expand Down

0 comments on commit feb1dcc

Please sign in to comment.