Skip to content

Commit

Permalink
Merge pull request chrislusf#28 from alpe/fix_http_server_test
Browse files Browse the repository at this point in the history
Quickfix to make tests compile
  • Loading branch information
chrislusf committed Feb 14, 2016
2 parents f00fa06 + 1852067 commit 5c58a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions driver/rsync/http_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ func TestNormalHttpCopy(t *testing.T) {
os.Args[0], "http_server.go", "../scheduler/scheduler.go", "fetch_url.go",
}

rsyncServer, err := NewRsyncServer(":0", files[0], files[1:])
rsyncServer, err := NewRsyncServer(files[0], files[1:])
if err != nil {
t.Fatalf("Failed to start local server: %v", err)
}
rsyncServer.Start()
rsyncServer.StartRsyncServer(nil, ":0")

err = FetchFilesTo(fmt.Sprintf("localhost:%d", rsyncServer.Port), "/tmp")
if err != nil {
Expand Down

0 comments on commit 5c58a23

Please sign in to comment.