Explorar el Código

HDDS-1472. Add retry to kinit command in smoketests. Contributed by Ajay Kumar. (#778)

Ajay Yadav hace 6 años
padre
commit
dbce729b24
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      hadoop-ozone/dist/src/main/smoketest/commonlib.robot

+ 1 - 1
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
+    Wait Until Keyword Succeeds      2min       10sec      Execute            kinit -k ${TEST_USER} -t /etc/security/keytabs/testuser.keytab