Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit c901edd

Browse files
committed
introduce convergence to hold per-service Containers and prevent race conditions
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 0e67d3a commit c901edd

File tree

13 files changed

+239
-352
lines changed

13 files changed

+239
-352
lines changed

local/e2e/compose/ipc_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func TestIPC(t *testing.T) {
5959
t.Run("down", func(t *testing.T) {
6060
_ = c.RunDockerCmd("compose", "--project-name", projectName, "down")
6161
})
62-
t.Run("stop ipc mode container", func(t *testing.T) {
63-
_ = c.RunDockerCmd("stop", "ipc_mode_container")
62+
t.Run("remove ipc mode container", func(t *testing.T) {
63+
_ = c.RunDockerCmd("rm", "-f", "ipc_mode_container")
6464
})
6565
}

local/e2e/compose/networks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func TestNetworkAliassesAndLinks(t *testing.T) {
8686
})
8787

8888
t.Run("curl links", func(t *testing.T) {
89-
res := c.RunDockerCmd("compose", "-f", "./fixtures/network-alias/compose.yaml", "--project-name", projectName, "exec", "-T", "container1", "curl", "container")
89+
res := c.RunDockerCmd("compose", "-f", "./fixtures/network-alias/compose.yaml", "--project-name", projectName, "exec", "-T", "container1", "curl", "http://container/")
9090
assert.Assert(t, strings.Contains(res.Stdout(), "Welcome to nginx!"), res.Stdout())
9191
})
9292

0 commit comments

Comments
 (0)