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

Integration tests: residual objects in object database #489

Open
Garfonso opened this issue Apr 12, 2022 · 2 comments
Open

Integration tests: residual objects in object database #489

Garfonso opened this issue Apr 12, 2022 · 2 comments
Assignees

Comments

@Garfonso
Copy link

Might be only local, not 100% sure, yet.

I can definitively see enums (room & function) that are still present from previous tests and cause errors (because certain object still is member of an enum, that should not be there at all).

I once saw a state object still present for all tests and even after testing was done I could find it in objects.jsonl file.

From what I understood databases should be empty (or at least at some defined status) at the beginning of each test.

@Garfonso
Copy link
Author

ok, problem was / is related to residual test directory locally from somehow not clean stopped test run (i.e. before first test run there already was a objects.jsonl file which contained objects and that was used as backup to restore to, if I understand the code correctly). :-/ Sorry.

@AlCalzone
Copy link
Collaborator

Hmm, let me check if we should clear the DB before the first test to avoid this.

@AlCalzone AlCalzone reopened this Apr 12, 2022
@AlCalzone AlCalzone self-assigned this Apr 12, 2022
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

2 participants