mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
Cast constant to int64 so it doesn't overflow. (#11466)
This commit is contained in:
parent
1fccd0d0cd
commit
39fd597737
1 changed files with 1 additions and 1 deletions
|
|
@ -2066,7 +2066,7 @@ func TestSystemBackend_rotateConfig(t *testing.T) {
|
|||
}
|
||||
|
||||
req2 := logical.TestRequest(t, logical.UpdateOperation, "rotate/config")
|
||||
req2.Data["max_operations"] = 2345678910
|
||||
req2.Data["max_operations"] = int64(2345678910)
|
||||
req2.Data["interval"] = "5432h0m0s"
|
||||
req2.Data["enabled"] = false
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue