-
Notifications
You must be signed in to change notification settings - Fork 30
Fix: Modify retrieving path of Mechanical in tests #688
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
Conversation
0684fd7 to
90238d9
Compare
|
@dipinknair which issue is this associated with? |
|
Came across this issue while debugging remote_session_launch test failures locally. Since find_mechanical() does not check config.txt , some test were failing because of not able to retrieve path. |
|
@dipinknair we run on containers that put mechanical under /install/ansys_inc/vNnn. So |
This is to facilitate testing locally so that we can debug further issues that we see in tests. This is not a fix for the test failures happening in github runners but fix to run the test locally since Pool test are also using find_mechanical. find_mechanical works fine in github runners. |
|
@dipinknair in that case I suggest leaving a fallback to find the path if there's nothing in the config, otherwise this will require setting the path before the test can run. |
get_mechanical_path takes care that and |
Use
get_mechanical_pathinstead offind_mechanicalinremote_session_launchtests