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 tests for save/load status state functionality #16

Open
samuelallan72 opened this issue Aug 15, 2022 · 0 comments · May be fixed by #18
Open

Fix tests for save/load status state functionality #16

samuelallan72 opened this issue Aug 15, 2022 · 0 comments · May be fixed by #18

Comments

@samuelallan72
Copy link

The current tests for persistence (test_stored, test_stored_blank) pass, but they pass only because they reuse the same StatusPool class, and the statuses are persisted because they are class level variables. Not sure if this is a bug in the test harness (handling charm storage differently to prod), or the charm (running functionality or making assumptions that only hold true in certain prod environments).

@PietroPasotti PietroPasotti linked a pull request Aug 18, 2022 that will close this issue
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 a pull request may close this issue.

1 participant