Module: check_mk
Branch: master
Commit: add5a67c362add556cc4db9aebda96b51d27c47d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=add5a67c362add…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Aug 30 11:04:27 2017 +0200
test_automation_try_discovery_not_existing_host: Use another hostname for the test
Change-Id: If573c54176a1ef8b76d3c343ebb40645783b0a76
---
tests/cmk_base/test_automations.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/cmk_base/test_automations.py b/tests/cmk_base/test_automations.py
index 720b245..2abcf21 100644
--- a/tests/cmk_base/test_automations.py
+++ b/tests/cmk_base/test_automations.py
@@ -236,8 +236,8 @@ def test_automation_analyse_service_no_check(test_cfg, site):
def test_automation_try_discovery_not_existing_host(test_cfg, site):
data = _execute_automation(site, "try-inventory",
- args=["x"],
- expect_stderr="Failed to lookup IPv4 address of x via DNS: [Errno -2] Name
or service not known\n\n",
+ args=["xxx-not-existing-host"],
+ expect_stderr="Failed to lookup IPv4 address of xxx-not-existing-host via
DNS: [Errno -2] Name or service not known\n\n",
expect_stdout="",
expect_exit_code=2,
parse_data=False,