Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Multithread IDL Tests #2780

Open
wants to merge 1 commit into
base: alpha
Choose a base branch
from

Conversation

WhoBrokeTheBuild
Copy link
Contributor

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
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.

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
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.

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.

2 participants