Skip to content

Commit

Permalink
Catch failing test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
nwiltsie committed Sep 4, 2024
1 parent aa3adad commit 76d7f19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

---

## [Unreleased]

### Fixed
- Properly catch failing test cases

## [1.1.0] - 2024-07-08

### Added
Expand Down
4 changes: 2 additions & 2 deletions nftest/NFTestCase.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def test(self) -> bool:
self._logger.info(" [ skipped ]")
return True

nextflow_succeeded = self.submit()
if not nextflow_succeeded:
nextflow_process = self.submit()
if nextflow_process.returncode != 0:
self._logger.error(" [ failed ]")
return False

Expand Down

0 comments on commit 76d7f19

Please sign in to comment.