-
Notifications
You must be signed in to change notification settings - Fork 9
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
Investigate inconsistencies in tests #187
Comments
so we need a little switch/case statement for the two OSs that exhibit different behavior. NFSRODS is fine, this is just capturing the correct expectations in the testing. |
I don't think we even need to detect the difference between the OSs. The test only needs to confirm that a non-zero error code is returned and the common part of the error message exists. Essentially, what's already reported in the BATs sample. |
that's fair - if we just want to assert non-zero. |
I think this may be due to the BATS (the test framework) rather than NFSRODS. For example:
Executing the commands manually succeed too, so this makes me think we may have written a bad test. |
This situation turned out to NOT be BATS. This was an actual bug in the implementation where we weren't clearing some caches at the correct moments. With the recent commits, the tests pass consistently. |
Wild. Thanks tests! |
create, list, rename, copy, move, and remove file should be (to account for linux vs macOS)
failing on linux, but not on macOS (on
46.main.restart
branch)ocasionally failing on macOS (on
main
), but can't re-produce. it's happened once or twice out of all the times I've ran these testsThe text was updated successfully, but these errors were encountered: