diff --git a/nixos/tests/test_privatestorage.py b/nixos/tests/test_privatestorage.py index 911779498a8926545c6c0a52109a240f621d8ce5..3b4cc7a3d934a93c7b13b5808314fb23952ebd6f 100644 --- a/nixos/tests/test_privatestorage.py +++ b/nixos/tests/test_privatestorage.py @@ -118,8 +118,9 @@ def test( except: # Dump the fake Stripe API server logs, too, since the error may arise # from a PaymentServer/Stripe interaction. - code, output = api_stripe_com.execute('journalctl -u api.stripe.com') - api_stripe_com.log(output) + for node, unit in [(api_stripe_com, "api.stripe.com"), (issuer, "zkapissuer")]: + code, output = node.execute(f'journalctl -u {unit}') + node.log(output) raise