beyondstorage / go-storage

A vendor-neutral storage library for Golang: Write once, run on every storage service.

Home Page:https://beyondstorage.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

services/ftp: Integration tests failed with internal error

Xuanwo opened this issue · comments

related test: https://github.com/beyondstorage/go-storage/runs/3935965835

       When Read with offset and size 
        The error should be nil ✘✔
        The content should be match ✔✔✔✔

   * /home/runner/work/go-storage/go-storage/services/ftp/tests/storage_test.go 
  Line 14:
  Expected: nil
  Actual:   'read: Storager ftp {URL: 127.0.0.1:2121, User: admin, WorkDir: /}, [c17c9997-4332-4b75-a4d5-fed48a1da776]: service internal, 426 Data connection error.'

It looks more like a server-side error, maybe we need to report an error to https://issues.apache.org/jira/projects/FTPSERVER/issues/FTPSERVER-502?filter=allopenissues

BTW, I think mina/ftpserver is not actively maintained according to their VSC changes:

image

The version we used for testing is released on 2017-4-15 which is 4 years ago.

Before we find out what happend on mina/ftpserver, I think we can move those tests to vsftpd instead.