From dbce729b24bba0f25255530fdb1e424d54f8138f Mon Sep 17 00:00:00 2001 From: Ajay Yadav <7813154+ajayydv@users.noreply.github.com> Date: Mon, 29 Apr 2019 07:46:01 -0700 Subject: [PATCH] HDDS-1472. Add retry to kinit command in smoketests. Contributed by Ajay Kumar. (#778) --- hadoop-ozone/dist/src/main/smoketest/commonlib.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-ozone/dist/src/main/smoketest/commonlib.robot b/hadoop-ozone/dist/src/main/smoketest/commonlib.robot index d0ea344e04..7fca9a3fdc 100644 --- a/hadoop-ozone/dist/src/main/smoketest/commonlib.robot +++ b/hadoop-ozone/dist/src/main/smoketest/commonlib.robot @@ -57,4 +57,4 @@ Install aws cli Kinit test user ${hostname} = Execute hostname Set Suite Variable ${TEST_USER} testuser/${hostname}@EXAMPLE.COM - Execute kinit -k ${TEST_USER} -t /etc/security/keytabs/testuser.keytab \ No newline at end of file + Wait Until Keyword Succeeds 2min 10sec Execute kinit -k ${TEST_USER} -t /etc/security/keytabs/testuser.keytab \ No newline at end of file