Skip to content

Commit

Permalink
Fix macOS/Colima based integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Dec 2, 2023
1 parent 862311b commit 1ab579c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ class GenericDockerTaskSpec extends Specification {
DockerClientImpl dockerClient = task.dockerClient

then:
dockerClient.env.dockerHost == DockerEnv.getDefaultDockerHost()
dockerClient.env.dockerHost in [
DockerEnv.getDefaultDockerHost(),
// for GitHub, where integration tests use a Colima based Docker engine
"unix:///Users/runner/.colima/default/docker.sock"
]
}

def "delegates to dockerClient with configured dockerHost"() {
Expand Down

0 comments on commit 1ab579c

Please sign in to comment.