Skip to content

Commit

Permalink
print sterr if flink proc fails
Browse files Browse the repository at this point in the history
  • Loading branch information
cisaacstern committed Aug 3, 2023
1 parent 87ec8b8 commit 231e35d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/integration/test_flink.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@ def test_flink_bake(minio):
"-f",
f.name,
]
proc = subprocess.run(cmd)
proc = subprocess.run(cmd, capture_output=True)

assert proc.returncode == 0
if proc.returncode != 0:
print(proc.stderr.decode())

assert proc.returncode == 0 # bail if proc did not succeed

# We should have some kinda 'has this completed?' check here
# Instead, I just wait for 3min
Expand Down

0 comments on commit 231e35d

Please sign in to comment.