Skip to content

Conversation

@kzscisoft
Copy link
Collaborator

@kzscisoft kzscisoft commented Jun 20, 2025

Various patches to the tests to ensure consistency

Also contains bug fixes identified during the investigation.

@kzscisoft kzscisoft added bug Something isn't working testing labels Jun 20, 2025
@kzscisoft kzscisoft force-pushed the kzscisoft/test-fixes branch from dbe1ef8 to e6beb39 Compare June 20, 2025 12:56
@kzscisoft kzscisoft force-pushed the kzscisoft/test-fixes branch from e6beb39 to aff6a90 Compare June 20, 2025 12:58
kzscisoft added 15 commits June 20, 2025 15:40
Uses raw metrics names request to determine when emission metrics have sent to the server
Uses the files created by the processes in the test for process abort to determine a pass or fail
In the abort processes test use the point at which stdout file is non-zero to mark test completion.
Addresses issue of hanging tests due to threads still running, this includes the QueuedDispatcher subclass.
Removes number of metrics check, just ensures at least one was sent
Ensures all tests have same setup for Run initialisation, also adds flag for changing retention period
@kzscisoft kzscisoft requested a review from wk9874 June 25, 2025 10:35
@kzscisoft kzscisoft changed the title 🧪 Ensure subdirectory in executor tests 🧪 Fix and Update Test System to be Compatible with CI Jun 25, 2025
return None

with contextlib.suppress(StopIteration):
next(_ids)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confused by this - doesnt this mean itll try to do next(_ids), ignore if there isnt another one, and always raise a RuntimeError?

@kzscisoft kzscisoft merged commit b334b61 into dev Jun 25, 2025
20 checks passed
@kzscisoft kzscisoft deleted the kzscisoft/test-fixes branch June 25, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants