We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51e1595 commit d3adfaeCopy full SHA for d3adfae
test/generic_container_test.exs
@@ -13,6 +13,9 @@ defmodule Testcontainers.GenericContainerTest do
13
config = %Testcontainers.Container{image: "redis:latest", network_mode: "host"}
14
assert {:ok, container} = Testcontainers.start_container(config)
15
Process.sleep(5000)
16
+ with {:unix, :darwin} <- :os.type() do
17
+ IO.puts("Testing network_mode=host doesn't work in macos!")
18
+ end
19
assert :ok = port_open?("127.0.0.1", 6379)
20
assert :ok = Testcontainers.stop_container(container.container_id)
21
end
0 commit comments