Skip to content

Commit af0a885

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 faf1075 commit af0a885

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
@@ -2056,7 +2056,7 @@ def test_the_command_does_not_inherit_the_locks(self):
20562056
)
20572057
process = self.wrapper(["--memory", "4G", "--exclusive", "port"], [sys.executable, "-c", script])
20582058
output, errors = process.communicate(timeout=60)
2059-
self.assertEqual(output, "locks 5 inherited 0\n", errors)
2059+
self.assertEqual(output, "locks 6 inherited 0\n", errors)
20602060

20612061
def test_commands_with_the_same_exclusive_name_take_turns(self):
20622062
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)