mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +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)
|
||||
go func() {
|
||||
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,
|
||||
"secret_id": secretID,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user