Skip to content

Commit

Permalink
Merge pull request #70 from uclahs-cds/nwiltsie-fix-tests
Browse files Browse the repository at this point in the history
Catch failing test cases
  • Loading branch information
nwiltsie authored Sep 9, 2024
2 parents aa3adad + 76d7f19 commit 0b97c34
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 0b97c34

Please sign in to comment.