snlab-freedom / sdntest

This is an easy-to-use test framework for general purpose in SDN scenario.
MIT License
0 stars 0 forks source link

Support parallel testcases #2

Open fno2010 opened 7 years ago

fno2010 commented 7 years ago

Since each TestSuite() instance is independent, framework should support to execute testcases parallelly.

One potential solution is to specify the parallel size in config file like this:

{
    "...": "...",
    "workflow": "main.py",
    "repeat": 12,
    "parallel": 4
}

It will create 4 threads to run testcases parallelly. Each thread can repeat the testcases by 3 times.