Sleep 3 secs

This commit is contained in:
patdyn 2024-06-27 15:40:05 +02:00
parent 24579506ae
commit 8c8219b5fa

View file

@ -226,6 +226,8 @@ class TerraformBackendGitApi:
for key in credentials: for key in credentials:
env = env + f'{key}' + "=" + f'{credentials[key]}' + " " env = env + f'{key}' + "=" + f'{credentials[key]}' + " "
self.execution_api.execute(f'{env}' + " " + "terraform-backend-git &") self.execution_api.execute(f'{env}' + " " + "terraform-backend-git &")
self.execution_api.execute('sleep 3')
def stop(self): def stop(self):
self.execution_api.execute("terraform-backend-git stop") self.execution_api.execute("terraform-backend-git stop")