teslamotors / fleet-telemetry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integration Tests - Go Packages Reinstalled Every Time

patrickdemers6 opened this issue · comments

When running integration tests twice in a row, Docker caching should minimize the work performed on the second run.

Current Behavior

Go packages are installed on both runs of the integration test suite. This takes upwards of one minute, wasting valuable developer time.

Expected Behavior

The Dockerfile and integration test script is configured in such a way that dependencies are cached between runs. The second run of the tests is faster since Go packages are not re-downloaded.