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

[Bug] Testing framework commits to database #7126

Closed
cjpit opened this issue Mar 25, 2019 · 1 comment
Closed

[Bug] Testing framework commits to database #7126

cjpit opened this issue Mar 25, 2019 · 1 comment

Comments

@cjpit
Copy link
Contributor

cjpit commented Mar 25, 2019

If test cases fail, they leave junk in the database. Just wondering why the testing framework is not working in a transaction, and then rolling back that transaction each time?

This will then ensure that there is no rogue transactions left in the db. I just ran some tests for tasks and this happened.

image

@netchampfaris
Copy link
Contributor

This is an intentional design in the test framework. Because other tests may depend on previously created data. Tests are meant to be run on a separate test site.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants