diff options
author | Prashanth Pai <ppai@redhat.com> | 2015-06-22 14:29:13 +0530 |
---|---|---|
committer | Prashanth Pai <ppai@redhat.com> | 2015-09-16 14:28:44 +0530 |
commit | f99520e231fee40ef29c866ddd3ea5eef538d3b0 (patch) | |
tree | aa88a57329c013ac3dee3389bedb14bc7642a64e /test | |
parent | f3acbc844a105d342a3133789f01eaf713a981d1 (diff) |
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 <ppai@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/libgfapi-python-tests.py | 4 | ||||
-rw-r--r-- | test/test.conf | 2 |
2 files changed, 3 insertions, 3 deletions
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' diff --git a/test/test.conf b/test/test.conf index 4bf4dff..8e18f60 100644 --- a/test/test.conf +++ b/test/test.conf @@ -1,3 +1,3 @@ [func_test] -gfs_host = gfshost +gfs_host = localhost gfs_volname = test |