builtin/credential/aws: fix dropped test error (#13609)
This commit is contained in:
parent
c925324057
commit
8a3501b7f0
|
@ -73,6 +73,9 @@ func TestPathConfigRotateRoot(t *testing.T) {
|
||||||
t.Fatalf("expected new access key buzz2 but received %s", resp.Data["access_key"])
|
t.Fatalf("expected new access key buzz2 but received %s", resp.Data["access_key"])
|
||||||
}
|
}
|
||||||
newClientConf, err := b.nonLockedClientConfigEntry(ctx, req.Storage)
|
newClientConf, err := b.nonLockedClientConfigEntry(ctx, req.Storage)
|
||||||
|
if err != nil {
|
||||||
|
t.Fatal(err)
|
||||||
|
}
|
||||||
if resp.Data["access_key"].(string) != newClientConf.AccessKey {
|
if resp.Data["access_key"].(string) != newClientConf.AccessKey {
|
||||||
t.Fatalf("expected new access key buzz2 to be saved to storage but receieved %s", clientConf.AccessKey)
|
t.Fatalf("expected new access key buzz2 to be saved to storage but receieved %s", clientConf.AccessKey)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue