From 53794469a0c3b11ee46c877c15a094fe3e8e4c28 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 29 Jan 2019 03:26:21 +0000 Subject: [PATCH] issue #499: disable new test on vanilla. --- tests/ansible/integration/connection/become_same_user.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/ansible/integration/connection/become_same_user.yml b/tests/ansible/integration/connection/become_same_user.yml index 440d6105..d73eca86 100644 --- a/tests/ansible/integration/connection/become_same_user.yml +++ b/tests/ansible/integration/connection/become_same_user.yml @@ -12,12 +12,14 @@ become: true become_user: joe register: out + when: is_mitogen - assert: that: - out.result[0].method == "ssh" - out.result[0].kwargs.username == "joe" - out.result|length == 1 # no sudo + when: is_mitogen # Now try with a different account. @@ -25,6 +27,7 @@ become: true become_user: james register: out + when: is_mitogen - assert: that: @@ -33,3 +36,4 @@ - out.result[1].method == "sudo" - out.result[1].kwargs.username == "james" - out.result|length == 2 # no sudo + when: is_mitogen