Skip to content

Commit ea62ff4

Browse files
committed
Fixed worker exit code vs exit code confusion
1 parent 5820430 commit ea62ff4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mutmut/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ def register_pid(self, *, pid, key, estimated_time_of_tests):
607607
def register_result(self, *, pid, exit_code):
608608
assert self.key_by_pid[pid] in self.exit_code_by_key
609609
self.exit_code_by_key[self.key_by_pid[pid]] = (0xFF00 & exit_code) >> 8 # The high byte contains the exit code
610+
self.exit_code_by_key[self.key_by_pid[pid]] = exit_code
610611
# TODO: maybe rate limit this? Saving on each result can slow down mutation testing a lot if the test run is fast.
611612
del self.key_by_pid[pid]
612613
del self.start_time_by_pid[pid]

0 commit comments

Comments
 (0)