mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-17 02:55:11 +00:00
test: ensure consistency of update multiple sequences test (#3501)
This commit is contained in:
@@ -1558,6 +1558,10 @@ func TestStatementHandler_updateCurrentSequence(t *testing.T) {
|
||||
sequence: 6,
|
||||
instanceID: "instanceID",
|
||||
},
|
||||
{
|
||||
sequence: 10,
|
||||
instanceID: "instanceID2",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -1566,7 +1570,7 @@ func TestStatementHandler_updateCurrentSequence(t *testing.T) {
|
||||
return err == nil
|
||||
},
|
||||
expectations: []mockExpectation{
|
||||
expectUpdateTwoCurrentSequence("my_table", "my_projection", currentSequences{
|
||||
expectUpdateThreeCurrentSequence(t, "my_table", "my_projection", currentSequences{
|
||||
"agg": []*instanceSequence{
|
||||
{
|
||||
sequence: 5,
|
||||
@@ -1578,6 +1582,10 @@ func TestStatementHandler_updateCurrentSequence(t *testing.T) {
|
||||
sequence: 6,
|
||||
instanceID: "instanceID",
|
||||
},
|
||||
{
|
||||
sequence: 10,
|
||||
instanceID: "instanceID2",
|
||||
},
|
||||
},
|
||||
}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user