From ea1d7202f51897fc9975154922eba9bdb6929238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= Date: Sat, 23 Mar 2024 19:56:49 +0100 Subject: [PATCH] remove --interactive from tests --- tests/sshAgent.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sshAgent.Tests.ps1 b/tests/sshAgent.Tests.ps1 index 26552037..49bd7b1e 100644 --- a/tests/sshAgent.Tests.ps1 +++ b/tests/sshAgent.Tests.ps1 @@ -66,7 +66,7 @@ Describe "[$global:IMAGE_NAME] image is present" { Describe "[$global:IMAGE_NAME] image has setup-sshd.ps1 in the correct location" { BeforeAll { - docker run --detach --interactive --tty --name "$global:CONTAINERNAME" --publish-all "$global:IMAGE_NAME" "$global:CONTAINERSHELL" + docker run --detach --tty --name "$global:CONTAINERNAME" --publish-all "$global:IMAGE_NAME" "$global:CONTAINERSHELL" Is-ContainerRunning $global:CONTAINERNAME | Should -BeTrue } @@ -126,7 +126,7 @@ Describe "[$global:IMAGE_NAME] image has correct version of java and git-lfs ins Describe "[$global:IMAGE_NAME] create agent container with pubkey as argument" -Skip:($global:WINDOWSFLAVOR -eq 'windowsservercore') { BeforeAll { - docker run --detach --tty --interactive --name="$global:CONTAINERNAME" --publish-all "$global:IMAGE_NAME" "$global:PUBLIC_SSH_KEY" + docker run --detach --tty --name="$global:CONTAINERNAME" --publish-all "$global:IMAGE_NAME" "$global:PUBLIC_SSH_KEY" Is-ContainerRunning $global:CONTAINERNAME | Should -BeTrue }