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