Comments (6)
I am not seeing this behavior. Are you running version 0.6.2 of the plugin? There was a previous issue that addressed this.
from spock-retry.
Sure enough - turns out I was using 0.6.2, which I thought was the latest because that's still the one listed in the Maven build settings section on bintray
Sorry about that!
from spock-retry.
Err...my reading comprehension is suffering this morning. I was running 0.6.2, which is indeed the latest version.
from spock-retry.
For what it's worth, the 0.6.2 version I'm pulling from bintray doesn't seem to include commit 80dd537. Here's the code snippet in question:
void intercept(IMethodInvocation invocation) throws Throwable {
Integer attempts = 0
while (attempts <= retryMax) {
try {
invocation.proceed()
attempts = retryMax + 1
} catch (Throwable t) {
<snip>
I'm importing it with:
repositories {
maven { url "https://dl.bintray.com/anotherchrisberry/spock-retry" }
}
dependencies {
compile 'com.anotherchrisberry:spock-retry:0.6.2'
}
from spock-retry.
Weird. I don't know what happened there, but I cut a new release (0.6.3) that looks like it has that commit in it. Let me know if you continue seeing this issue.
from spock-retry.
Thanks - I'm getting the right code now with 0.6.3, and it works as expected.
from spock-retry.
Related Issues (14)
- Not compatible with latest Spock core version HOT 8
- Tests are not rerun if failure because of WaitTimeoutException HOT 8
- Project is not on JCenter HOT 3
- Invoke custom logic on failure HOT 2
- Wait time between retries HOT 1
- Specs with @Stepwise fail as retry all tests in spec, only executes failed tests HOT 6
- Exception thrown in setup mark test as success even if it failed HOT 1
- AssumptionViolatedException should not cause a retry
- java.lang.NoClassDefFoundError HOT 1
- java.lang.NoClassDefFoundError: com/anotherchrisberry/spock/extensions/retry/RetryInterceptor$_intercept_closure1 HOT 1
- update Spock version
- Latest release (0.6.5) needs to be deployed to jcenter/bintray HOT 1
- spock-retry is affected by CVE-2020-17521 because of old groovy dependency
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spock-retry.