From 6272abb2279eb97ec47ed7aa9a01f1932145a642 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Mon, 19 Sep 2011 11:10:16 +0200 Subject: [PATCH] sleep some extra time before killing java pid so it will have a chance write it's stdout to disk --- tests/java/check-kinit.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/java/check-kinit.in b/tests/java/check-kinit.in index 3e459e7e0..1f9e3fd0c 100644 --- a/tests/java/check-kinit.in +++ b/tests/java/check-kinit.in @@ -125,6 +125,8 @@ ${kinit} --password-file=${objdir}/foopassword lha@$R || \ env KRB5CCNAME=${cache} \ ${gssclient} --port=4717 --service=host localhost || exit 1 +sleep 5 + kill ${javapid} grep 'Exception in thread' output.tmp && exit 1