Skip to content

Commit

Permalink
Fix template test
Browse files Browse the repository at this point in the history
  • Loading branch information
dadgar committed Jan 24, 2017
1 parent 4380547 commit 0b46f7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/task_runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,10 @@ func TestTaskRunner_DeriveToken_Unrecoverable(t *testing.T) {
}

func TestTaskRunner_Template_Block(t *testing.T) {
testRetryRate = 2 * time.Second
defer func() {
testRetryRate = 0
}()
alloc := mock.Alloc()
task := alloc.Job.TaskGroups[0].Tasks[0]
task.Driver = "mock_driver"
Expand Down

0 comments on commit 0b46f7c

Please sign in to comment.