Skip to content

Commit

Permalink
Fixed some java tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diptanu committed Feb 25, 2016
1 parent 54d7057 commit be55af6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/driver/java_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"testing"
"time"

"github.com/hashicorp/nomad/client/allocdir"
"github.com/hashicorp/nomad/client/config"
"github.com/hashicorp/nomad/nomad/structs"
"github.com/hashicorp/nomad/testutil"
Expand Down Expand Up @@ -143,8 +142,7 @@ func TestJavaDriver_Start_Wait(t *testing.T) {
}

// Get the stdout of the process and assrt that it's not empty
taskDir := execCtx.AllocDir.TaskDirs["demo-app"]
stdout := filepath.Join(taskDir, allocdir.TaskLocal, "demo-app.stdout.0")
stdout := filepath.Join(execCtx.AllocDir.LogDir(), "demo-app.stdout.0")
fInfo, err := os.Stat(stdout)
if err != nil {
t.Fatalf("failed to get stdout of process: %v", err)
Expand Down

0 comments on commit be55af6

Please sign in to comment.