Skip to content

Commit afe0678

Browse files
sourcehawkclaude
andcommitted
fix(skills/bounding-heavy-commands): count the memory lock in the test of inherited locks
The layer below added a lock file for the memory check, so the lock directory now holds six files in this test: two slots, the name, the reserve turn, the line, and the memory check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 72cefc0 commit afe0678

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎skills/bounding-heavy-commands/scripts/tests/test_bounded_run.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2035,7 +2035,7 @@ def test_the_command_does_not_inherit_the_locks(self):
20352035
)
20362036
process = self.wrapper(["--memory", "4G", "--exclusive", "port"], [sys.executable, "-c", script])
20372037
output, errors = process.communicate(timeout=60)
2038-
self.assertEqual(output, "locks 5 inherited 0\n", errors)
2038+
self.assertEqual(output, "locks 6 inherited 0\n", errors)
20392039

20402040
def test_commands_with_the_same_exclusive_name_take_turns(self):
20412041
workers = [self.worker("w%d" % index, "2G", hold="0.3", options=["--exclusive", "port-8080"]) for index in range(3)] # brief; the test waits for each to end

0 commit comments

Comments
 (0)