NOAA-GSL / ExascaleWorkflowSandbox

Other
2 stars 2 forks source link

Fix on-prem test suite failures #80

Closed christopherwharrop-noaa closed 6 months ago

christopherwharrop-noaa commented 6 months ago

The test suite fails intermittently when executed on on-prem systems. This was caused by two issues:

1) The version of pytest installed by ./install.sh does not pin the version of pytest to a version <7.4.0. There is an issue with newer versions of pytest that cause it not to find the tests directory for the tests that run under a Parsl job. This PR fixes by pinning pytest to version 7.3.2.

2) The test_flux_resource_list test usually fails because the test code did not explicitly set the executor for that test to the one that uses Flux. This meant that the executor was being chosen randomly, and when it ran on the non-flux executor, it would fail. This is now fixed.

Closes #78 and #79

christopherwharrop-noaa commented 6 months ago

Once PR #76 is merged, I will rebase this onto main so that the change set is correct and clean.