fix: update test ProcessorRecord constructors for iteration fields
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 55s
CI / docker (push) Successful in 51s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 36s

Tests were using the old 18-param constructor, missing the 5 new
iteration fields (loopIndex, loopSize, splitIndex, splitSize,
multicastIndex) added in V8 migration.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-27 19:56:54 +01:00
parent 159e4adf07
commit b0dcd0ac6b
2 changed files with 5 additions and 2 deletions

View File

@@ -71,10 +71,12 @@ class PostgresExecutionStoreIT extends AbstractPostgresIT {
new ProcessorRecord("exec-proc", "proc-1", "log",
"app-1", "route-a", 0, null, "COMPLETED",
now, now.plusMillis(10), 10L, null, null,
"input body", "output body", null, null, null),
"input body", "output body", null, null, null,
null, null, null, null, null),
new ProcessorRecord("exec-proc", "proc-2", "to",
"app-1", "route-a", 1, "proc-1", "COMPLETED",
now.plusMillis(10), now.plusMillis(30), 20L, null, null,
null, null, null, null, null,
null, null, null, null, null)
);
executionStore.upsertProcessors("exec-proc", now, "app-1", "route-a", processors);

View File

@@ -27,7 +27,8 @@ class TreeReconstructionTest {
"exec-1", id, type,
"default", "route1", depth, parentId,
status, NOW, NOW, 10L,
null, null, null, null, null, null, null
null, null, null, null, null, null, null,
null, null, null, null, null
);
}