mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-11 12:02:56 +00:00
Move assert after logs output to make debug easier
This commit is contained in:
@@ -25,6 +25,6 @@ def test_tensorflow(container, name, command):
|
||||
LOGGER.info(f"Testing tensorflow: {name} ...")
|
||||
c = container.run(tty=True, command=["start.sh", "python", "-c", command])
|
||||
rv = c.wait(timeout=30)
|
||||
assert rv == 0 or rv["StatusCode"] == 0, f"Command {command} failed"
|
||||
logs = c.logs(stdout=True).decode("utf-8")
|
||||
LOGGER.debug(logs)
|
||||
assert rv == 0 or rv["StatusCode"] == 0, f"Command {command} failed"
|
||||
|
Reference in New Issue
Block a user