Repository navigation
Multilab Plugin to run parallel integration Tests #3945
sdargoeuves
started this conversation in
Ideas
Replies: 1 comment 3 replies
|
The I tried running tests in parallel for different devices, but Vagrant kept crashing and messing up the system. Things should be much better with containerlab and locking we already implemented, so I should probably start running multi-device tests in parallel with different multilab IDs. However, what would be really interesting (and help you get your tests finished faster) would be a multi-threaded implementation of |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
hi @ipspace,
When working on ASAv I got tired of being able to only run one integration_test at a time and wanted to run them in parallel. I was trying to remember your Autocon5 presentation (I had to look it up to confirm) that you are indeed running those integration tests in parallel.
What I didn't realise, is that you are using the branch
integration_tests, as it says here: https://netlab.tools/dev/integration-tests/Before this realisation, I vibe coded an heavy, clunky piece of
shcode, which works! My idea is to use the multilab plugin, so I can run 10 or 20 labs at the same time, all using a different lab ID, to go through the tests. I haven't tested how many I can try to run at the same time.It took 15min to perform all tests for
asav(but only ~28, iirc, are supported), and 20min forfrr. For my ASAv use case, this is brilliant, because I can now run multiple tests, come back 5 or 10min later and see where I stand.Now, knowing about this
integration_testsbranch, I feel like I've reinvented the wheel (🥳). I'm wondering if I should carry on using it because it works on my machine and maybe share it to any interested soul, or if I should investigate the magic behind theintegration_testsbranch and use this instead.All reactions