This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Description
In current state plugin checks that container is up by trying to get container ID from docker.
My proposal is that plugin should run tests only after all containers has status healthy or none.
Fast workaround can be added to DockerCommands
def getDockerContainerId(instanceName: String, serviceName: String): String = {
//Docker replaces '/' with '_' in the identifier string so search for replaced version
Process(s"""docker ps --all --filter=name=${instanceName.replace('/', '_')}_${serviceName}_ --format=\"{{.ID}}\ --filter=\"health=healthy\" --filter=\"health=none\" """").!!.trim().replaceAll("\"", "")
}