summaryrefslogtreecommitdiffstats
path: root/ipatests/beakerlib_plugin.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-06-05 18:30:39 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-07-15 15:49:11 +0200
commit846ae2b3f4807f2b1897811b9fe9978103c2451a (patch)
tree29613e865d58f298029d89bad22116ed90ce4a5e /ipatests/beakerlib_plugin.py
parentd84e10347eb42ffca7d5d761e0f7af447f3e2ef7 (diff)
downloadfreeipa-846ae2b3f4807f2b1897811b9fe9978103c2451a.tar.gz
freeipa-846ae2b3f4807f2b1897811b9fe9978103c2451a.tar.xz
freeipa-846ae2b3f4807f2b1897811b9fe9978103c2451a.zip
tests: Configure/unconfigure remote hosts
Set up the hostname, /etc/resolv.conf, and /etc/hosts on remote hosts in the test setup. Undo the changes in test teardown. Part of the work for https://fedorahosted.org/freeipa/ticket/3621
Diffstat (limited to 'ipatests/beakerlib_plugin.py')
-rw-r--r--ipatests/beakerlib_plugin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipatests/beakerlib_plugin.py b/ipatests/beakerlib_plugin.py
index bd4f8465b..770fced49 100644
--- a/ipatests/beakerlib_plugin.py
+++ b/ipatests/beakerlib_plugin.py
@@ -166,6 +166,7 @@ class BeakerLibPlugin(Plugin):
self.log_exception(err)
self.run_beakerlib_command(
['rlFail', 'Test failed: unhandled exception'])
+ self.collect_logs(test.context)
def addFailure(self, test, err):
self.log_exception(err)