Limit latest test version for Apache HttpClient 2.0 (#1676)
This commit is contained in:
parent
eab3697660
commit
3c195f3273
|
@ -4,12 +4,14 @@ muzzle {
|
|||
pass {
|
||||
group = "commons-httpclient"
|
||||
module = "commons-httpclient"
|
||||
versions = "[2.0,]"
|
||||
skipVersions += "3.1-jenkins-1" // odd version in jcenter
|
||||
versions = "[2.0,4.0)"
|
||||
skipVersions += ["3.1-jenkins-1", "20020423"] // odd versions
|
||||
assertInverse = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
library group: 'commons-httpclient', name: 'commons-httpclient', version: '2.0'
|
||||
|
||||
latestDepTestLibrary group: 'commons-httpclient', name: 'commons-httpclient', version: '3.+'
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ class Jms1Test extends AgentTestRunner {
|
|||
|
||||
private static final Logger logger = LoggerFactory.getLogger(Jms1Test)
|
||||
|
||||
private static final GenericContainer broker = new GenericContainer("rmohr/activemq")
|
||||
private static final GenericContainer broker = new GenericContainer("rmohr/activemq:latest")
|
||||
.withExposedPorts(61616, 8161)
|
||||
.withLogConsumer(new Slf4jLogConsumer(logger))
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import spock.lang.Shared
|
|||
class SpringTemplateJms1Test extends AgentTestRunner {
|
||||
private static final Logger logger = LoggerFactory.getLogger(SpringTemplateJms1Test)
|
||||
|
||||
private static final GenericContainer broker = new GenericContainer("rmohr/activemq")
|
||||
private static final GenericContainer broker = new GenericContainer("rmohr/activemq:latest")
|
||||
.withExposedPorts(61616, 8161)
|
||||
.withLogConsumer(new Slf4jLogConsumer(logger))
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.testcontainers.containers.GenericContainer
|
|||
@EnableJms
|
||||
class Config {
|
||||
|
||||
private static GenericContainer broker = new GenericContainer("rmohr/activemq")
|
||||
private static GenericContainer broker = new GenericContainer("rmohr/activemq:latest")
|
||||
.withExposedPorts(61616, 8161)
|
||||
|
||||
static {
|
||||
|
|
|
@ -61,7 +61,7 @@ abstract class SmokeTest extends Specification {
|
|||
private GenericContainer collector
|
||||
|
||||
def setupSpec() {
|
||||
backend = new GenericContainer<>("open-telemetry-docker-dev.bintray.io/java/smoke-fake-backend")
|
||||
backend = new GenericContainer<>("open-telemetry-docker-dev.bintray.io/java/smoke-fake-backend:latest")
|
||||
.withExposedPorts(8080)
|
||||
.waitingFor(Wait.forHttp("/health").forPort(8080))
|
||||
.withNetwork(network)
|
||||
|
|
Loading…
Reference in New Issue