Skip to content

Commit

Permalink
CBQE-2997 - add changes for failover and rebalance n1ql samples
Browse files Browse the repository at this point in the history
Change-Id: I06a914a692aa5004bbf0afb89570b014af0109e2
Reviewed-on: http://review.couchbase.org/53896
Reviewed-by: Ketaki Gangal <ketaki@couchbase.com>
Tested-by: Ketaki Gangal <ketaki@couchbase.com>
  • Loading branch information
Ketaki authored and Ketaki Gangal committed Jul 29, 2015
1 parent cdea14c commit ce8481f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 14 deletions.
13 changes: 13 additions & 0 deletions pysystests/tests/n1ql/n1ql_failover.js
@@ -0,0 +1,13 @@
{
"name" : "n1ql_2i_test",
"desc" : "failover test run for n1ql and 2i",
"loop" : "",
"phases" : {
"1" :
{
"name" : "failover_kv",
"desc" : "FL-2",
"cluster" : {"auto_failover" : "10.6.2.167", "add_back" : "10.6.2.167"}
}
}
}
35 changes: 21 additions & 14 deletions pysystests/tests/n1ql/n1ql_rebal.js
@@ -1,12 +1,19 @@
{
"name" : "n1ql_2i_test",
"desc" : "test run for n1ql and 2i",
"desc" : "rebalance test run for n1ql and 2i",
"loop" : "",
"phases" : {
"1" :
"0" :
{
"name" : "rebalance_out_kv",
"desc" : "RB-1",
"name" : "bucket_warmup",
"desc" : "bucket_warmup",
"workload" : [{"spec" : "s:100,ops:1000"}],
"runtime" : 40
},
"1" :
{
"name" : "rebalance_out_index",
"desc" : "RB-2",
"cluster" : {"rm" : "10.6.2.167"}
},
"2" :
Expand All @@ -20,19 +27,19 @@
},
"runtime" : 30
},
"6" :
"3" :
{
"name" : "rebalance_in_kv",
"name" : "rebalance_in_index",
"desc" : "RB-1",
"cluster" : {"add" : "10.6.2.167", "services" : "kv"}
"cluster" : {"add" : "10.6.2.167", "services" : "index"}
},
"1" :
"4" :
{
"name" : "rebalance_out_index",
"desc" : "RB-1",
"desc" : "RB-2",
"cluster" : {"rm" : "10.6.2.233"}
},
"2" :
"5" :
{
"name" : "access_phase",
"desc" : "run access phase for 60 seconds",
Expand All @@ -43,19 +50,19 @@
},
"runtime" : 30
},
"3" :
"6" :
{
"name" : "rebalance_in_index",
"desc" : "RB-1",
"cluster" : {"add" : "10.6.2.233", "services" : "index"}
},
"4" :
"7" :
{
"name" : "rebalance_out_query",
"desc" : "RB-1",
"cluster" : {"rm" : "10.6.2.195"}
},
"5" :
"8" :
{
"name" : "access_phase",
"desc" : "run access phase for 60 seconds",
Expand All @@ -66,7 +73,7 @@
},
"runtime" : 30
},
"6" :
"9" :
{
"name" : "rebalance_in_query",
"desc" : "RB-1",
Expand Down

0 comments on commit ce8481f

Please sign in to comment.