Skip to content

Commit

Permalink
Fix hdfs test (#902)
Browse files Browse the repository at this point in the history
* unit test

Signed-off-by: sunwp <[email protected]>

* fix hdfs range test

Signed-off-by: sunwp <[email protected]>
  • Loading branch information
244372610 authored Dec 8, 2021
1 parent ff0b65e commit 4343f62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/source/hdfsprotocol/hdfs_source_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ const (
hdfsExistFileHost = "127.0.0.1:9000"
hdfsExistFilePath = "/user/root/input/f1.txt"
hdfsExistFileURL = "hdfs://" + hdfsExistFileHost + hdfsExistFilePath
hdfsExistFileContentLength int64 = 12
hdfsExistFileContent = "Hello World\n"
hdfsExistFileContentLength int64 = 11
hdfsExistFileContent = "Hello World"
hdfsExistFileLastModifiedMillis int64 = 1136214245000
hdfsExistFileLastModified = "Mon, 02 Jan 2006 15:04:05 GMT"
hdfsExistFileRangeStart int64 = 3
Expand Down

0 comments on commit 4343f62

Please sign in to comment.