You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then the reproducer works with the correct fixtures being executed.
However, I imagine this raises the question on variable identity so will probably need more testing.
I'm happy to open a quick PR if this is indeed the correct way to solve this.
The text was updated successfully, but these errors were encountered:
Hi, sorry for the late reply. This seems indeed to be a bug, but I'm not sure yet if that's the correct fix or if it's just hiding a more fundamental reason. Feel free to open a PR with your fix and we'll see if it breaks other unit tests.
It seems that we can't specify two fixtures of the same class even with different variables.
Here's a minimal reproducer:
And we get:
Looking at the error, it seems that it's resolving the fixture purely with class names.
If we add the following extra check:
To the resolution logic:
reframe/reframe/core/pipeline.py
Lines 1642 to 1655 in a00fa32
Then the reproducer works with the correct fixtures being executed.
However, I imagine this raises the question on variable identity so will probably need more testing.
I'm happy to open a quick PR if this is indeed the correct way to solve this.
The text was updated successfully, but these errors were encountered: