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

Fix chgrp test failure #176

Open
forsyth2 opened this issue Jan 10, 2022 · 1 comment
Open

Fix chgrp test failure #176

forsyth2 opened this issue Jan 10, 2022 · 1 comment
Assignees
Labels
Testing Files in `tests` modified

Comments

@forsyth2
Copy link
Collaborator

forsyth2 commented Jan 10, 2022

testChgrpHPSS fails with AssertionError: Command=`hsi ls -l zstash_test`. Errors=['This was supposed to be found, but was not: 3.', 'This was supposed to be found, but was not: m.']. This occurs as far as back as v1.0.0 -- I'm unsure why this is happening, since the unit tests have been run successfully multiple time since then.

In tests/test_chgrp.py, expected_present is a string, but should be a list.

                expected_present = 'e3sm'
            else:
                expected_present = 'chgrp: HPSS is unavailable'
            self.check_strings(cmd, output + err, expected_present, ['ERROR'])

Note, however, that even changing it to a list does not make the test pass.

@forsyth2 forsyth2 added Testing Files in `tests` modified for next version labels Jan 10, 2022
@forsyth2 forsyth2 self-assigned this Jan 10, 2022
This was referenced Jan 11, 2022
@forsyth2
Copy link
Collaborator Author

Partially fixed by #179.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing Files in `tests` modified
Projects
None yet
Development

No branches or pull requests

1 participant