GoogleContainerTools / GoogleContainerTools/container-structure-test

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

Open
#86 2 comments 1 reaction 1 assignee Claimed by @nkubala View on GitHub
enhancement
Dominant language
Go
Stars
2.5k
Forks
212
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.