Details
Description
a) Install CB Server on 2 nodes.
b) Try and add the nodes to a cluster by using command line.
On Windows:
2015-06-30 16:20:14 | INFO | MainProcess | test_thread | [remote_util.execute_command_raw] running command.raw on 172.23.107.124: /cygdrive/c/Program\ Files/Couchbase/Server/bin/couchbase-cli.exe server-add --cluster=localhost -u Administrator -p password --server-add=172.23.107.125:8091 --server-add-username=Administrator --server-add-password=password
– The command returns a list of 2 elements. -
['SUCCESS: server-add 172.23.107.125:8091', '']
Execute the same command on centos, with centOS boxes:
2015-06-30 16:37:59 | INFO | MainProcess | test_thread | [remote_util.execute_command_raw] running command.raw on 172.23.105.131: /opt/couchbase/bin/couchbase-cli server-add --cluster=localhost -u Administrator -p password --server-add=172.23.105.132:8091 --server-add-username=Administrator --server-add-password=password
– The command returns a list of 1 element -
['SUCCESS: server-add 172.23.105.132:8091']
Expected Result:
Return value of the command should be same on Windows and CentOS.
Attachments
For Gerrit Dashboard: MB-15500 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
52782,3 | CBQE:0-Fix cli test case to handle output for windows - MB-15500 Change-Id: Ibd0cca0ac72d621b863267a6d7c7190f2eea6e7f Reviewed-on: http://review.couchbase.org/52782 Tested-by: buildbot <build@couchbase.com> Reviewed-by: Ritam Sharma <ritamcouchbase@gmail.com> Tested-by: Ritam Sharma <ritamcouchbase@gmail.com> | master | testrunner | Status: MERGED | +2 | +1 |