Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[s3test] TestIntegration/FsMkdir/FsPutFiles/FsListLevel2 #5442

Open
kmlebedev opened this issue Mar 31, 2024 · 0 comments
Open

[s3test] TestIntegration/FsMkdir/FsPutFiles/FsListLevel2 #5442

kmlebedev opened this issue Mar 31, 2024 · 0 comments

Comments

@kmlebedev
Copy link
Contributor

  1. Configure ~/.config/rclone/rclone.conf:
[swfs]
type = s3
provider = Other
access_key_id = some_access_key1
secret_access_key = some_secret_key1
endpoint = http://localhost:8000
upload_cutoff = 50Mi
chunk_size = 50Mi
force_path_style = true
  1. Run swfs make server
  2. Run rclone tests
git clone https://github.com/rclone/rclone.git
cd rclone/backend/s3
go test -v -remote swfs:
=== RUN   TestIntegration/FsMkdir/FsPutFiles/FsListLevel2
    fstests.go:1082: 
                Error Trace:    /Users/whitefox/GolandProjects/rclone/fstest/fstests/fstests.go:1082
                Error:          Not equal: 
                                expected: []string{"hello? sausage", "hello? sausage/êé"}
                                actual  : []string{"hello? sausage", "hello? sausage/êé", "invalid utf-8\xfe", "test%46.txt", "writer-at-subdir"}
                                
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1,4 +1,7 @@
                                -([]string) (len=2) {
                                +([]string) (len=5) {
                                  (string) (len=14) "hello? sausage",
                                - (string) (len=19) "hello? sausage/êé"
                                + (string) (len=19) "hello? sausage/êé",
                                + (string) (len=14) "invalid utf-8\xfe",
                                + (string) (len=11) "test%46.txt",
                                + (string) (len=16) "writer-at-subdir"
                                 }
                Test:           TestIntegration/FsMkdir/FsPutFiles/FsListLevel2
=== RUN   TestIntegration/FsMkdir/FsPutFiles/FsListRLevel2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant