-
Notifications
You must be signed in to change notification settings - Fork 14
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
test_import.py
cannot run twice
#1444
Comments
It looks like there are multiple entries created when the jobs are imported with the same job name. |
So I'm not getting any comment here but I'm gonna keep posting my findings to use it as my log book.
|
Ah, I remember this issue when running tests locally. It might have been that the project that the test imports into is not the same as the one that gets cleared after the test, but I'm not sure anymore and I never quite fixed it. |
Ditto. I even still have a |
Yeah it's super frustrating, especially the errors are really not helpful. I kept digging down, and now I got the feeling that there's a problem with nested projects. It occurs namely even when there are only these two tests: |
It looks like the opposite is also the case: if I run all tests except for these two, they pass as well. |
Interestingly, there’s also no problem if only one of them is disabled. So probably something in |
test_import.py cannot run twice because somehow pyiron fails to delete jobs in the first run when the tests finish. In the second run these remaining jobs from the first run apparently make a problem.
The text was updated successfully, but these errors were encountered: