-
Notifications
You must be signed in to change notification settings - Fork 440
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
testFrameworkProperty cannot be changed any further #1910
Comments
@marcingrzejszczak sure, I'll try to take a look. Based on the output, it immediately points me toward something about the |
So the issue here is related to the finalization of As a workaround that we can do right now, would simply be to drop the |
Found a workaround for include/exclude tags. It involves moving from configuring the options on the task itself from the top level to modifying the options from inside of the test suite. So this:
Should work as (untested):
|
Hmm I tried to fix it through this 169a39d but it didn't help. Most likely I misunderstood you 😬 |
Sorry, I really should have just included a permalink. Haha Here's a link of the one line to comment out:
|
When I tried that one the tests never ran and the build faild :( |
Hmm. That doesn't sound right given we have it configured explicitly inside of the plugin. Prior to the change to explicitly configure JUnit Platform, I would have expected the tests to fail as the JUnit 4 engine couldn't run JUnit 5 tests, but now we've explicitly told Gradle to by default use the JUnit 5 engine unless someone changes it later. I'll pull it down here in a bit and try a few things, but I would honestly have expected that to work presently. |
So I've found the following to be true:
The reason for this difference across the versions is due to the |
Ehh so why is the Github Actions build broken for all of those branches? 😬 |
🤦 I moved the |
@marcingrzejszczak, that will only be valid for the 3.1.x branch and will still be invalid for 4.0.x and main. If the Maven build has stabilized a bit (before I wasn't even seeing it get past shaded dependencies), then I can push the fixes for this too. |
Actually it worked fine for 3.1.x and 4.0.x - the build is green (which doesn't mean that it's how it should be done). In other words the build is green so feel free to fix it however you think it should be done ;) |
After upgrading standalone sample to Gradle 8.1.1 (I've upgraded 3.1.x, 4.0.x and main branches) I've started seeing exceptions in the
dsl/http-server
project@shanman190 can you check it out in your spare time 🙏 ?
The text was updated successfully, but these errors were encountered: