From f99520e231fee40ef29c866ddd3ea5eef538d3b0 Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Mon, 22 Jun 2015 14:29:13 +0530 Subject: functests: Change default host name to localhost Without this change, user (developer) will have to modify test.conf (tracked by git) every time he has to run functional tests or has to edit /etc/hosts and add entry for 'gfshost' Change-Id: I6d41a657b0cae614513e2925e73138da46ddaf04 Signed-off-by: Prashanth Pai --- test/functional/libgfapi-python-tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/libgfapi-python-tests.py') diff --git a/test/functional/libgfapi-python-tests.py b/test/functional/libgfapi-python-tests.py index 87dbfe0..cef0f01 100644 --- a/test/functional/libgfapi-python-tests.py +++ b/test/functional/libgfapi-python-tests.py @@ -26,13 +26,13 @@ if config: try: HOST = config.get('func_test', 'gfs_host') except (NoSectionError, NoOptionError): - HOST = 'gfshost' + HOST = 'localhost' try: VOLNAME = config.get('func_test', 'gfs_volname') except (NoSectionError, NoOptionError): VOLNAME = 'test' else: - HOST = 'gfshost' + HOST = 'localhost' VOLNAME = 'test' -- cgit