Comments (5)
I ran into the same issue when I had to switch from the DockerJava executor to the Spotify one (the spotify implementation has better/correct AuthConfig).
I created a pull which enables container linking when using the Spotify docker executor, see #62
from docker-it-scala.
Which docker executor you are using? If Spotify
one, then it doesn't support container links I think
from docker-it-scala.
Ah, this might be a reason, I use Spotify one
from docker-it-scala.
Btw, in my experience using the LogLineContains ready checker for Kafka isn't working properly.
I'm running a custom ready checker that uses a ZooKeeper client to check the brokers have registered:
.withReadyChecker(
DockerReadyChecker.F { _ ⇒
zookeeperAddress.map { address ⇒
val zkUtils = ZkUtils(
address.getHostName + ":" + address.getPort,
10.seconds.toMillis.toInt,
10.seconds.toMillis.toInt,
false
)
val hasBrokers = zkUtils.getChildren("/brokers/ids").nonEmpty
zkUtils.close()
hasBrokers
}
}
.looped(nrOfReadyCheckRetries, readyCheckDuration)
)
from docker-it-scala.
There is a latest working example with container linking introduced here https://github.com/whisklabs/docker-it-scala/pull/74/files
from docker-it-scala.
Related Issues (20)
- Concurrency issues on logs
- No support for UDP?
- Timeout or Race condition resulting in Cannot run all required containers HOT 1
- Shutdown connection before running tests HOT 1
- Pulling image timeout gives an error message about not being able to pull windows image
- Publish v0.9.7 for 2.11 ? HOT 1
- Plans to publish a jar with shaded spotify docker-client? HOT 8
- Setup steps unclear HOT 2
- PostgresServiceSpec fails with driver libraries from 42 HOT 1
- Allow pausing/unpausing of containers in DockerExecutor
- Release for Scala 2.13 HOT 5
- run unpublished docker image with whisk labs docker-it-scala HOT 1
- Incompatible with ScalaTest's AsyncTestSuite
- Issues with SBT 1.3.x
- An image without a tag pulls all tags
- Persisting container across multiple test classes
- withUnlinkedDependencies not starting dependent container
- DockerContainer should have an option to configure withIpv6Address and withExtraHosts
- Missing release for docker-testkit-impl-docker-java 0.11.0 HOT 5
- Update in the GitHub Actions image's docker breaks docker-it-scala HOT 4
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 docker-it-scala.