mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 22:35:53 +08:00
71edc75ca6
This includes an HDFS docker image to use with the integration tests. Co-authored-by: Ivan Andreev <ivandeex@gmail.com> Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
21 lines
376 B
Go
21 lines
376 B
Go
// Test HDFS filesystem interface
|
|
|
|
// +build !plan9
|
|
|
|
package hdfs_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/rclone/rclone/backend/hdfs"
|
|
"github.com/rclone/rclone/fstest/fstests"
|
|
)
|
|
|
|
// TestIntegration runs integration tests against the remote
|
|
func TestIntegration(t *testing.T) {
|
|
fstests.Run(t, &fstests.Opt{
|
|
RemoteName: "TestHdfs:",
|
|
NilObject: (*hdfs.Object)(nil),
|
|
})
|
|
}
|