container-structure-test icon indicating copy to clipboard operation
container-structure-test copied to clipboard

Add mode to persist driver between test runs to avoid recreating filesystem

Open nkubala opened this issue 6 years ago • 2 comments

Currently, a new driver is created for each individual test as a way to run tests in isolation. This is fine for the docker driver, but for the tar driver this requires us to recreate the filesystem for every test, which can take on the order of half a second. Since the tar driver is incapable of running commands anyway, tests can't interfere with each other, so we should have a way to persist the driver between tests.

nkubala avatar Mar 14 '18 22:03 nkubala

This has been fixed right? cc @nkubala

dlorenc avatar Jul 02 '18 17:07 dlorenc

No not yet, I fixed unpacked filesystems stacking up on each other but we're still creating a new driver on each test run

nkubala avatar Jul 09 '18 21:07 nkubala