Skip to content

Commit ac52f0d

Browse files
test(server): adapt recovery scan coverage to bounded projections
1 parent c6394b9 commit ac52f0d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/orchestration-v2/ProviderRuntimeRecoveryService.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ it.effect("leaves durable effects for the worker after runtime reconciliation",
6464
}),
6565
);
6666

67-
it.effect("reads full projections only for threads that need runtime recovery", () => {
67+
it.effect("reads recovery projections only for threads that need runtime recovery", () => {
6868
const settledThreadIds = Array.from({ length: 1_000 }, (_, index) =>
6969
ThreadId.make(`thread_recovery_settled_${index}`),
7070
);
@@ -83,7 +83,7 @@ it.effect("reads full projections only for threads that need runtime recovery",
8383
archivedThreads: [],
8484
} as never),
8585
getRecoveryThreadIds: () => Effect.succeed([recoveryThreadId]),
86-
getThreadProjection: (threadId) => {
86+
getRuntimeRecoveryProjection: (threadId) => {
8787
projectionReads(threadId);
8888
return Effect.succeed({
8989
thread: { id: threadId },

0 commit comments

Comments
 (0)