add short sleep between revocation and lookup (#6425)

This commit is contained in:
Calvin Leung Huang 2019-03-15 15:24:53 -07:00 committed by Jeff Mitchell
parent c38a7af05d
commit a169d3da65

View File

@ -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)