summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHumble Devassy Chirammal <humble.devassy@gmail.com>2016-02-17 22:39:25 -0800
committerGerrit Code Review <review@dev.gluster.org>2016-02-17 22:39:26 -0800
commit0f81a9205f645eb9a0eb0f2d21dd31e2cf7bbddc (patch)
treec4ac87b71bd776a5c80cfbacbf08c171153374b2
parentc3bcd19f382ff116574dc11c9c7b2b3a094b7140 (diff)
parentf99520e231fee40ef29c866ddd3ea5eef538d3b0 (diff)
Merge "functests: Change default host name to localhost"
-rw-r--r--doc/markdown/dev_guide.md2
-rw-r--r--test/functional/libgfapi-python-tests.py4
-rw-r--r--test/test.conf2
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/markdown/dev_guide.md b/doc/markdown/dev_guide.md
index d80705f..770de4b 100644
--- a/doc/markdown/dev_guide.md
+++ b/doc/markdown/dev_guide.md
@@ -169,7 +169,7 @@ gluster volume start test
### Important Notes:
#### Definining a hostname
-GlusterFS does not allow for specifiyng `localhost` as a valid hostname when creating a volume. Make sure to set host and volume information in test/test.conf file. The default host is 'gfshost' and default volume name is 'test'.
+GlusterFS does not allow for specifiyng `localhost` as a valid hostname when creating a volume. However, `localhost` can be used to mount a volume. Make sure to set host and volume information in test/test.conf file. The default host is 'localhost' and default volume name is 'test'.
#### Stopping services
For the purpose of running this test, stop the `firewalld` service and disable `selinux`.
diff --git a/test/functional/libgfapi-python-tests.py b/test/functional/libgfapi-python-tests.py
index 7eb4cd2..bfd5c50 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