fix: update tests for new ProcessorRecord fields
Add resolvedEndpointUri, splitDepth, loopDepth arguments to ProcessorRecord constructors in TreeReconstructionTest and PostgresExecutionStoreIT. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -72,12 +72,14 @@ class PostgresExecutionStoreIT extends AbstractPostgresIT {
|
|||||||
"app-1", "route-a", 0, null, "COMPLETED",
|
"app-1", "route-a", 0, null, "COMPLETED",
|
||||||
now, now.plusMillis(10), 10L, null, null,
|
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),
|
null, null, null, null, null,
|
||||||
|
null, 0, 0),
|
||||||
new ProcessorRecord("exec-proc", "proc-2", "to",
|
new ProcessorRecord("exec-proc", "proc-2", "to",
|
||||||
"app-1", "route-a", 1, "proc-1", "COMPLETED",
|
"app-1", "route-a", 1, "proc-1", "COMPLETED",
|
||||||
now.plusMillis(10), now.plusMillis(30), 20L, null, null,
|
now.plusMillis(10), now.plusMillis(30), 20L, null, null,
|
||||||
null, null, null, null, null,
|
null, null, null, null, null,
|
||||||
null, null, null, null, null)
|
null, null, null, null, null,
|
||||||
|
null, 0, 0)
|
||||||
);
|
);
|
||||||
executionStore.upsertProcessors("exec-proc", now, "app-1", "route-a", processors);
|
executionStore.upsertProcessors("exec-proc", now, "app-1", "route-a", processors);
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,8 @@ class TreeReconstructionTest {
|
|||||||
"default", "route1", depth, parentId,
|
"default", "route1", depth, parentId,
|
||||||
status, NOW, NOW, 10L,
|
status, NOW, NOW, 10L,
|
||||||
null, null, null, null, null, null, null,
|
null, null, null, null, null, null, null,
|
||||||
null, null, null, null, null
|
null, null, null, null, null,
|
||||||
|
null, 0, 0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user