e2e/stack: don't run stack deploy "detached"

Run stack deploy in "attached" mode, so that progress and errors
can be printed on failure.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-10-09 17:17:46 +02:00
parent 41432adc36
commit 85ac71a3fe

View File

@ -24,7 +24,7 @@ func TestRemove(t *testing.T) {
func deployFullStack(t *testing.T, stackname string) {
t.Helper()
// TODO: this stack should have full options not minimal options
result := icmd.RunCommand("docker", "stack", "deploy",
result := icmd.RunCommand("docker", "stack", "deploy", "--detach=false",
"--compose-file=./testdata/full-stack.yml", stackname)
result.Assert(t, icmd.Success)