mirror of https://github.com/docker/compose.git
Fix E2E test to have index in the correct position
Signed-off-by: Amit Saha <asaha@atlassian.com>
This commit is contained in:
parent
f9946127ce
commit
90ca13b747
|
@ -6,6 +6,3 @@ services:
|
|||
hello:
|
||||
image: alpine
|
||||
command: echo hello
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 2
|
||||
|
|
|
@ -55,7 +55,7 @@ func TestLocalComposeLogs(t *testing.T) {
|
|||
})
|
||||
|
||||
t.Run("logs hello index", func(t *testing.T) {
|
||||
res := c.RunDockerComposeCmd(t, "--project-name", projectName, "--index", "2", "logs", "hello")
|
||||
res := c.RunDockerComposeCmd(t, "--project-name", projectName, "logs", "--index", "2", "hello")
|
||||
// TODO: see if there is a way we can verify that the logs is from the second replica
|
||||
// or if we need to..
|
||||
res.Assert(t, icmd.Expected{Out: `hello`})
|
||||
|
|
Loading…
Reference in New Issue