Log entire cluster output on test_silent_startup failure
Work around truncation of long messages by py.test
@@ -256,8 +256,15 @@ def test_silent_startup(capsys, loop):
sleep(0.5)
out, err = capsys.readouterr()
+ try:
assert not out
assert not err
+ except AssertionError:
+ print("=== Cluster stdout ===")
+ print(out)
+ print("=== Cluster stderr ===")
+ print(err)
+ raise
def test_only_local_access(loop):
