mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Fix race in approle integ test
This commit is contained in:
@@ -69,7 +69,7 @@ func TestAppRole_Integ_ConcurrentLogins(t *testing.T) {
|
|||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
go func() {
|
go func() {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
secret, err = client.Logical().Write("auth/approle/login", map[string]interface{}{
|
secret, err := client.Logical().Write("auth/approle/login", map[string]interface{}{
|
||||||
"role_id": roleID,
|
"role_id": roleID,
|
||||||
"secret_id": secretID,
|
"secret_id": secretID,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user