Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CBD-303: exposed cluster name from ini file

Change-Id: I54cc3330032f3dad85886aaaf136acc2c7b3185c
Reviewed-on: http://review.couchbase.org/16739
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Ronnie Sun <ronnie@couchbase.com>
  • Loading branch information...
commit bc2b35f6d4c8fd10b8dcc5f722095592fdb6653a 1 parent 16888e6
@ronniedada ronniedada authored Ronnie Sun committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  testrunner
View
3  testrunner
@@ -65,6 +65,9 @@ def parse_args(argv):
if not options.ini:
parser.error("please specify an .ini file (-i)")
parser.print_help()
+
+ test_params['cluster_name'] = splitext(os.path.basename(options.ini))[0]
+
if not options.testcase and not options.conf:
parser.error("please specify a configuration file (-c) or a test case (-t)")
parser.print_help()
Please sign in to comment.
Something went wrong with that request. Please try again.