Skip to content

Commit a3d2a27

Browse files
fix test
1 parent 2d2748f commit a3d2a27

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration/start_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ func TestStartCommandFailsWhenPortInUse(t *testing.T) {
110110
require.Error(t, err, "expected lstk start to fail when port is in use")
111111
requireExitCode(t, 1, err)
112112
assert.Contains(t, stdout, "Port 4566 already in use")
113-
assert.Contains(t, stdout, "LocalStack may already be running.")
114-
assert.Contains(t, stdout, "lstk stop")
113+
assert.Contains(t, stdout, "Free the port or configure a different one.")
114+
assert.Contains(t, stdout, "Use another port in the configuration:")
115115

116116
// Both lstk_lifecycle (start_error) and lstk_command events should be emitted.
117117
byName := collectTelemetryByName(t, events, 2)

0 commit comments

Comments
 (0)