From bb030db54696dd90e35ad7d69642136fbf9f1cfd Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Thu, 7 Mar 2024 02:47:43 +0000 Subject: [PATCH] Re-enable psrp tests that were disabled (#82785) --- test/integration/targets/connection_psrp/tests.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/integration/targets/connection_psrp/tests.yml b/test/integration/targets/connection_psrp/tests.yml index 8e7ace4ef0b..08832b144cf 100644 --- a/test/integration/targets/connection_psrp/tests.yml +++ b/test/integration/targets/connection_psrp/tests.yml @@ -32,15 +32,8 @@ - raw_out.stdout_lines[4] == "winrm" - raw_out.stdout_lines[5] == "string - \U0001F4A9" - # Become only works on Server 2008 when running with basic auth, skip this host for now as it is too complicated to - # override the auth protocol in the tests. - - name: check if we running on Server 2008 - win_shell: '[System.Environment]::OSVersion.Version -ge [Version]"6.1"' - register: os_version - - name: test out become with psrp win_whoami: - when: os_version|bool register: whoami_out become: yes become_method: runas @@ -50,7 +43,6 @@ assert: that: - whoami_out.account.sid == "S-1-5-18" - when: os_version|bool - name: test out async with psrp win_shell: Start-Sleep -Seconds 2; Write-Output abc