properly test timing vuln fix
This commit is contained in:
parent
89d3a2552a
commit
6ef812cfcb
|
@ -52,6 +52,12 @@ func TestStore(t *testing.T) {
|
|||
return
|
||||
}
|
||||
|
||||
auth, err = store.Get(secret)
|
||||
if nil != err {
|
||||
t.Fatal("get by key error", err)
|
||||
return
|
||||
}
|
||||
|
||||
auth1.MachinePPID = "a-secretish-id"
|
||||
err = store.Set(auth1)
|
||||
if nil != err {
|
||||
|
|
Loading…
Reference in New Issue