Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support parallel testcases #2

Open
fno2010 opened this issue Jan 19, 2017 · 0 comments
Open

Support parallel testcases #2

fno2010 opened this issue Jan 19, 2017 · 0 comments

Comments

@fno2010
Copy link
Member

fno2010 commented Jan 19, 2017

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.

fno2010 added a commit that referenced this issue Jan 21, 2017
For the requirement from issue #2, specify each TestSuite
as a thread to parallel execute.

The known problem is the performance of docker. When run
multiple mininet docker container, each container will
expend too many network interfaces and make system network
module busy. Currently, I cannot get 4-threads tests run
successfully.

Signed-off-by: jensenzhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant