mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 12:26:34 +02:00
add short sleep between revocation and lookup (#6425)
This commit is contained in:
parent
c38a7af05d
commit
a169d3da65
@ -300,6 +300,8 @@ path "kv/*" {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
// Verify the batch token is not usable anymore
|
||||
client.SetToken(rootToken)
|
||||
_, err = client.Auth().Token().Lookup(batchToken)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user