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

The correctout_learn.txt test can flake out with: "R call failed" #23

Open
JamesParrott opened this issue Feb 18, 2024 · 0 comments
Open

Comments

@JamesParrott
Copy link
Collaborator

JamesParrott commented Feb 18, 2024

I think this failure just an oddity that rarely occurs. This issue is for posterity only.

(pytest_py312) C:\...\sdna_plus\sDNA\sdna_vs2008\tests\pytest>set DONT_TEST_N_LINK_SUBSYSTEMS_ORDER=1 & python test_gathering_windows_command_line_tests.py
SDNA_DLL: c:\Program Files (x86)\sDNA\x64\sdna_vs2008.dll
Testing the sdnaintegral.py etc. in: %sdna_bin_dir%== c:\Program Files (x86)\sDNA\x64\..\bin
SDNA_DEBUG: False
DONT_TEST_N_LINK_SUBSYSTEMS_ORDER: True
Traceback (most recent call last):
...

AssertionError: Error on line num i: 48.  This line (and up to the 9 previous ones):
Expected: 'Progress'
'Requested fields: MGLAn,MCFn'
'Fields matching regex:'
'Reading features from tiny.shp'
'Reading features from tiny.shp'
'Progress'
'57 data points'
"Testing models (don't worry if this appears to hang)"
'Progress'
'Regularized r2 out of sample',

 Actual: 'Progress'
'Requested fields: MGLAn,MCFn'
'Fields matching regex:'
'Reading features from tiny.shp'
'Reading features from tiny.shp'
'Progress'
'57 data points'
"Testing models (don't worry if this appears to hang)"
'Progress'
'R call failed'

The tests all passed (including the correctout_learn.txt one) on a subsequent attempt to run the same command (the other flakey tests behaved).

@JamesParrott JamesParrott changed the title correctout_learn.txt can flake out, and fail to call R: "R call failed" The correctout_learn.txt test can flake out with: "R call failed" Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant