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

Ability to run tests in parallel #13

Open
marceloleitner opened this issue Apr 19, 2018 · 2 comments
Open

Ability to run tests in parallel #13

marceloleitner opened this issue Apr 19, 2018 · 2 comments

Comments

@marceloleitner
Copy link
Contributor

marceloleitner commented Apr 19, 2018

Currently the suite runs test by test till the end, but we can save time by running some tests in parallel.
Pretty much what make -j would do. If doing some quick sanity checks, it would be fine even to overload the host with the tests. Seems only the repeatability ones would get affected.
This should be feasible by adding a prefix to the netns names and buffering the logs for each job, and then generating a final one. (or something like that)

@marceloleitner
Copy link
Contributor Author

Cc @lxin

@lxin
Copy link
Collaborator

lxin commented May 8, 2018

My understanding for running tests in parallel is that we schedule the different cases into the different threads, but one case can be only running in one thread at the same time. If so, now all users have to do is to pass $TestCase and $O to ./sctp-tests, no need to add anything more. But yes, if you wish that users can pass '-j n', then ./sctp-tests dispatches by its own, we need to do something for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants