Skip to content

Commit

Permalink
fix(tf): add ‹canceled› as a neutral status (#2342)
Browse files Browse the repository at this point in the history
fix(tf): add ‹canceled› as a neutral status

Fixes #2339

Reviewed-by: Maja Massarini
  • Loading branch information
softwarefactory-project-zuul[bot] authored Feb 12, 2024
2 parents 0678246 + 6adba48 commit 38110e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packit_service/worker/handlers/testing_farm.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ def run(self) -> TaskResults:
status = BaseCommitStatus.failure
summary = self.summary or "Tests failed ..."
failure = True
elif self.result == TestingFarmResult.canceled:
status = BaseCommitStatus.neutral
summary = self.summary or "Tests canceled ..."
else:
status = BaseCommitStatus.error
summary = self.summary or "Error ..."
Expand Down

0 comments on commit 38110e1

Please sign in to comment.