From 8030de86b76baf8541c49094a8f14dacf5c6af01 Mon Sep 17 00:00:00 2001 From: James Hogarth Date: Nov 19 2014 11:43:06 +0000 Subject: race condition bugfix ... need to sleep after kinit before checking klist --- diff --git a/tests/p_ipa-server/3-verify_kerberos_tickets.sh b/tests/p_ipa-server/3-verify_kerberos_tickets.sh index 19a5a73..cda2f63 100755 --- a/tests/p_ipa-server/3-verify_kerberos_tickets.sh +++ b/tests/p_ipa-server/3-verify_kerberos_tickets.sh @@ -28,7 +28,7 @@ spawn kinit admin sleep 1 expect "Password for admin@C6IPA.LOCAL:" send -h "p455w0rd\r" -sleep 1 +sleep 5 close EOF diff --git a/tests/p_ipa-server/4-adduser.sh b/tests/p_ipa-server/4-adduser.sh index 578ead5..1fc6b53 100755 --- a/tests/p_ipa-server/4-adduser.sh +++ b/tests/p_ipa-server/4-adduser.sh @@ -18,7 +18,7 @@ spawn kinit admin sleep 1 expect "Password for admin@C6IPA.LOCAL:" send -h "p455w0rd\r" -sleep 1 +sleep 5 close EOF @@ -67,7 +67,7 @@ send -h -- "newp455w0rd\r" sleep 1 expect "Enter it again: " send -h -- "newp455w0rd\r" -sleep 1 +sleep 5 close EOF diff --git a/tests/p_ipa-server/5-addservice.sh b/tests/p_ipa-server/5-addservice.sh index 8140c0f..6ffdd63 100755 --- a/tests/p_ipa-server/5-addservice.sh +++ b/tests/p_ipa-server/5-addservice.sh @@ -18,7 +18,7 @@ spawn kinit admin sleep 1 expect "Password for admin@C6IPA.LOCAL:" send -h "p455w0rd\r" -sleep 1 +sleep 5 close EOF diff --git a/tests/p_ipa-server/6-dnsdetails.sh b/tests/p_ipa-server/6-dnsdetails.sh index 363f0f4..086e738 100755 --- a/tests/p_ipa-server/6-dnsdetails.sh +++ b/tests/p_ipa-server/6-dnsdetails.sh @@ -18,7 +18,7 @@ spawn kinit admin sleep 1 expect "Password for admin@C6IPA.LOCAL:" send -h "p455w0rd\r" -sleep 1 +sleep 5 close EOF diff --git a/tests/p_ipa-server/7-addsudo.sh b/tests/p_ipa-server/7-addsudo.sh index 99ac948..011cbe5 100755 --- a/tests/p_ipa-server/7-addsudo.sh +++ b/tests/p_ipa-server/7-addsudo.sh @@ -18,7 +18,7 @@ spawn kinit admin sleep 1 expect "Password for admin@C6IPA.LOCAL:" send -h "p455w0rd\r" -sleep 1 +sleep 5 close EOF