Skip to content

Commit

Permalink
remove --interactive from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve committed Mar 23, 2024
1 parent c2b5bcb commit ea1d720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sshAgent.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit ea1d720

Please sign in to comment.