diff --git a/acme/pebble_test.go b/acme/pebble_test.go index e373849..b633435 100644 --- a/acme/pebble_test.go +++ b/acme/pebble_test.go @@ -789,6 +789,7 @@ func spawnServerProcess(t *testing.T, dir string, cmd string, args ...string) { t.Cleanup(func() { cmdInstance.Process.Kill() + cmdInstance.Wait() if t.Failed() || testing.Verbose() { t.Logf("=== %s output ===", cmd)