mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-11-07 06:19:43 -10:00
test(managed-agent): match the busy-storage message in ChildWorkspaceServiceTest (#16382)
`WorkspaceExecutionStore.busy()` changed its message to "Workspace is not available for this operation." in #16369, which updated the in-test stub at line 1345 but not the `aBusyStorageParksTheStepWithoutSpendingAnAttempt` assertion at line 707. The assertion still expected the old "held by another tool turn" text, so the test now fails deterministically on the new message (seen on run 41981102231, both attempts). Update the assertion to the new busy message. Co-authored-by: Qwen-Coder <[email protected]>
This commit is contained in:
1 parent
481bd948de
commit
6fe5bca8e1
1 file changed
+1
-1
+1
-1
@@ -704,7 +704,7 @@ class ChildWorkspaceServiceTest {
|
||||
assertThat(parked.state()).isEqualTo(ChildWorkspaceStore.PREPARING);
|
||||
assertThat(parked.attempts()).isZero();
|
||||
assertThat(parked.nextRetryAt()).isEqualTo(clock.get() + ChildWorkspaceService.BUSY_DELAY_MS);
|
||||
assertThat(parked.lastError()).contains("held by another tool turn");
|
||||
assertThat(parked.lastError()).contains("Workspace is not available for this operation");
|
||||
assertThat(root.resolve(ChildWorktreeGit.CONTAINER)).doesNotExist();
|
||||
|
||||
service.scan();
|
||||
|
||||
Reference in new issue
Block a user