step_open_log_writer: remove unused vars
@@ -8,20 +8,12 @@ import (
"github.com/mitchellh/multistep"
"github.com/stretchr/testify/assert"
- "github.com/travis-ci/worker/backend"
- "github.com/travis-ci/worker/config"
)
func setupStepOpenLogWriter() (*stepOpenLogWriter, multistep.StateBag) {
s := &stepOpenLogWriter{logTimeout: time.Second, maxLogLength: 4}
- bp, _ := backend.NewBackendProvider("fake",
- config.ProviderConfigFromMap(map[string]string{
- "STARTUP_DURATION": "42.17s",
- }))
-
ctx := gocontext.TODO()
- instance, _ := bp.Start(ctx, nil)
job := &fakeJob{
payload: &JobPayload{
