From e5a4e37887b4fd67897aa9e89646a72da85f4d38 Mon Sep 17 00:00:00 2001 From: Cory Johns Date: Fri, 4 Sep 2020 11:07:35 -0400 Subject: [PATCH] Add missing now_min helper --- jobs/validate/vault-spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jobs/validate/vault-spec b/jobs/validate/vault-spec index b8bb3bd6f..f485afbbe 100755 --- a/jobs/validate/vault-spec +++ b/jobs/validate/vault-spec @@ -60,6 +60,11 @@ relations: EOF } +function now_min +{ + echo $(( $(date '+%s') / 60 )) +} + function juju::wait { # We can only wait for Vault to be ready to unseal. The test itself has to