nomad: fixing state store tests due to signature mismatch
This commit is contained in:
parent
3702587667
commit
cde8e9301b
|
@ -5694,7 +5694,7 @@ func TestStateStore_DeleteVaultAccessors(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatalf("err: %v", err)
|
||||
}
|
||||
if index != 1001 {
|
||||
if index != 1000 {
|
||||
t.Fatalf("bad: %d", index)
|
||||
}
|
||||
|
||||
|
@ -5968,7 +5968,7 @@ func TestStateStore_ACLPolicyByNamePrefix(t *testing.T) {
|
|||
for _, name := range names {
|
||||
p := mock.ACLPolicy()
|
||||
p.Name = name
|
||||
if err := state.UpsertACLPolicy(baseIndex, p); err != nil {
|
||||
if err := state.UpsertACLPolicies(baseIndex, []*structs.ACLPolicy{p}); err != nil {
|
||||
t.Fatalf("err: %v", err)
|
||||
}
|
||||
baseIndex++
|
||||
|
|
Loading…
Reference in New Issue