Skip to content

Commit

Permalink
tests: fix tests post-rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed Nov 16, 2018
1 parent a552a0c commit 9189173
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/allocrunner/taskrunner/task_runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,13 @@ func TestTaskRunner_TaskEnv(t *testing.T) {

// Use interpolation from both node attributes and meta vars
task.Config = map[string]interface{}{
"run_for": time.Millisecond,
"run_for": "1ms",
"stdout_string": `${node.region} ${NOMAD_META_foo} ${NOMAD_META_common_user}`,
}

conf, cleanup := testTaskRunnerConfig(t, alloc, task.Name)
defer cleanup()

fmt.Println(conf.ClientConfig.Node)

// Run the first TaskRunner
tr, err := NewTaskRunner(conf)
require.NoError(err)
Expand Down

0 comments on commit 9189173

Please sign in to comment.