Skip to content

Conversation

@WhoBrokeTheBuild
Copy link
Member

First attempt at multithreading the IDL tests

TODO: The write tests still need a way to access mdsip, and now in parallel
We'll probably use different shot numbers or something to that effect

This also moves the testid variable out of IDL and turns it into a parameter to each test
This lets us name the threads and output log files for each test individually

TODO: Output a JUnit XML to allow Jenkins to track these tests

@WhoBrokeTheBuild WhoBrokeTheBuild added build Relates to the build system api/idl Relates to the IDL API labels May 31, 2024
@WhoBrokeTheBuild WhoBrokeTheBuild self-assigned this May 31, 2024
@WhoBrokeTheBuild WhoBrokeTheBuild force-pushed the multithread-idl-tests branch from de6e94b to 5c808ef Compare May 31, 2024 20:23
mwinkel-dev
mwinkel-dev previously approved these changes May 31, 2024
Copy link
Contributor

@mwinkel-dev mwinkel-dev left a comment

Choose a reason for hiding this comment

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

Have confirmed that this refactoring of the IDL test suite is suitable for multi-threading of the "read" tests. So approving this PR.

There is a trivial formatting / style issue at line ~380 which is an extraneous blank line. It is OK to leave it "as is".

We'll likely have to run this multi-threaded read test for a week or so before we can be confident that the connection stress tests (60 to 100 connections per test case) won't clash when run in parallel.

@WhoBrokeTheBuild WhoBrokeTheBuild force-pushed the multithread-idl-tests branch from 5c808ef to 885bdf6 Compare June 4, 2024 17:16
First attempt at multithreading the IDL tests

TODO: The write tests still need a way to access mdsip, and now in parallel
We'll probably use different shot numbers or something to that effect
mwinkel-dev
mwinkel-dev previously approved these changes Jun 4, 2024
Copy link
Contributor

@mwinkel-dev mwinkel-dev left a comment

Choose a reason for hiding this comment

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

Re-approving this PR.

@heidthecamp heidthecamp force-pushed the multithread-idl-tests branch from f86c68d to cf5c57d Compare April 15, 2025 19:17
@heidthecamp
Copy link
Contributor

This is currently in the cmake branch. The gains of adding this with our current jenkins set up is minimal while adding a lot of complexity. This will be merged with cmake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api/idl Relates to the IDL API build Relates to the build system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants