Fix race in approle integ test

This commit is contained in:
Jeff Mitchell
2018-02-09 17:01:10 -05:00
parent f4af988927
commit 65328e9c12

View File

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