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

Minor fixes and adding tests for those fixes #123

Merged
merged 5 commits into from
Nov 8, 2020

Conversation

davidlatwe
Copy link
Collaborator

Fixes

  • When logging level is NOTSET (the default), traceback doesn't get printed when exception raised from listing profile. Which I think it should ?

  • bleeding-rez doesn't have attribute project but __project__. Now the rez.project can function properly.

Tests

A few test cases has been added to reflect the above fixes.

The default log.level may be NOTSET, which will
not equal to DEBUG level. Change condition to
less then INFO level fixed the silence.
@davidlatwe
Copy link
Collaborator Author

Some previous test failed, but seems not related to current change. Will fix that with another PR. :)

@davidlatwe
Copy link
Collaborator Author

On second thought, I'd like to try fixing it here, and re-try in another PR if problem still exists.

@davidlatwe
Copy link
Collaborator Author

So in last commit (4e65242), signal waiting in tests should be much stable now.

But somehow tests running in Ubuntu still get segmentation fault from time to time, re-run it by GitHub Action may get successful result. Not ideal, but shouldn't be a problem for Allzpark to work in production. Will try improving tests' stability in future PR.

Ready to be merged. :)

@davidlatwe davidlatwe merged commit 94b04c6 into mottosso:master Nov 8, 2020
@davidlatwe davidlatwe deleted the fix/minor-fixes branch November 8, 2020 14:14
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

Successfully merging this pull request may close these issues.

1 participant