Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
ettec committed Dec 12, 2024
1 parent be8269c commit feebcbc
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ func Test_EventHandlerStateSync(t *testing.T) {
updateAllowedDONs(t, backendTH, wfRegistryC, []uint32{donID}, true)
updateAuthorizedAddress(t, backendTH, wfRegistryC, []common.Address{backendTH.ContractsOwner.From}, true)

// The number of workflows should be greater than the workflow registry contracts pagination limit to ensure
// that the syncer will query the contract multiple times to get the full list of workflows
// Create some initial static state
numberWorkflows := 20
for i := 0; i < numberWorkflows; i++ {
var workflowID [32]byte
Expand Down Expand Up @@ -203,8 +202,6 @@ func Test_EventHandlerStateSync(t *testing.T) {

if numEvents == expectedNumEvents {
// verify the events are the expected types in the expected order
// Note the below test does not work with the unrefactored workflow registry, event order is essentially
// random in the pre-refactored version
for idx, event := range events {
switch idx % 5 {
case 0:
Expand Down

0 comments on commit feebcbc

Please sign in to comment.