DESCRIPTION

CBQE-1011 Customized loop setup for infinite run time

By this change, we can assign how many phases we want to loop
forever to simulate the stree test or infinite run time of the
test. The new json file will be:
{
    "name" : "simple",
    "desc" : "simple key-value test",
    "phases to loop": "[2:]",
    "phases" : {
                "1" :
                {
                    "name" : "create_buckets",
                    "desc" :  "create buckets",
                },
                "0" :
                {
                    "name" : "reb_in_one",
                    "desc" :  "RB-1",
                    "cluster" :  {"add" : "1"}
                },
                "2" :
                {
                    "name" : "simple_load",
                    "desc" :  "load items at 1k ops",
                    "workload" : "s:100,ccq:simplekeys,ops:100",
                    "template" : "default",
                    "runtime" : 60
                },
                "3" :
                {
                    "name" : "simple_get",
                    "desc" :  "get items at 1k ops",
                    "workload" : "g:100,coq:simplekeys,ops:100",
                    "template" : "default",
                    "runtime" : 60
                }
        }
}
This means phase 2 and phase 3 will be looping infinitely because
you set phases to loop range is [2:]. This range expression borrows
the idea of python list index range idea.

Change-Id: Ic23f5d0a0f6a78ec8d27ce825e724cc9d17eeef0


COMMENTS

author: Roland Charles
date: 2013-08-01 00:50:19.478000000

Uploaded patch set 2.

-------------------------------------
author: Hugo Blankenship
date: 2013-08-01 00:50:24.489000000

Patch Set 2:

Build Started http://qa.hq.northscale.net/job/testrunner-Jasmin Rangel-master/6662/

-------------------------------------
author: Hugo Blankenship
date: 2013-08-01 00:53:11.495000000

Patch Set 2:

Build Failed 

http://qa.hq.northscale.net/job/testrunner-Jasmin Rangel-master/6662/ : FAILURE

-------------------------------------
author: Titus Ho
date: 2013-08-01 20:18:19.453000000

Patch Set 2:

Nice! just 1 minor thing: 

instead of:  "phases to loop"


how about:  "loop"

?

-------------------------------------
