-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(tests): add integration tests using minio
This uses github.com/ory/dockertest/v3 to run minio in it's own module to ensure the s3iofs module isn't tainted with a docker related dependencies, and ensures the fs is tests are run on the external interface.
- Loading branch information
Showing
9 changed files
with
549 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,37 @@ | ||
module github.com/wolfeidau/s3iofs | ||
|
||
go 1.18 | ||
go 1.20 | ||
|
||
require ( | ||
github.com/aws/aws-sdk-go-v2 v1.18.1 | ||
github.com/aws/aws-sdk-go-v2/config v1.18.27 | ||
github.com/aws/aws-sdk-go-v2/service/s3 v1.35.0 | ||
github.com/rs/zerolog v1.29.1 | ||
github.com/aws/aws-sdk-go-v2 v1.21.0 | ||
github.com/aws/aws-sdk-go-v2/config v1.18.39 | ||
github.com/aws/aws-sdk-go-v2/service/s3 v1.38.5 | ||
github.com/rs/zerolog v1.30.0 | ||
github.com/stretchr/testify v1.8.4 | ||
golang.org/x/net v0.11.0 | ||
golang.org/x/net v0.15.0 | ||
) | ||
|
||
require ( | ||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 // indirect | ||
github.com/aws/aws-sdk-go-v2/credentials v1.13.26 // indirect | ||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.34 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.28 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.35 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.26 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.29 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.28 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.3 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sso v1.12.12 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.12 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sts v1.19.2 // indirect | ||
github.com/aws/smithy-go v1.13.5 // indirect | ||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.13 // indirect | ||
github.com/aws/aws-sdk-go-v2/credentials v1.13.37 // indirect | ||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.11 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.41 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.35 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.42 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.1.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.14 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.36 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.35 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.15.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sso v1.13.6 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.15.6 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sts v1.21.5 // indirect | ||
github.com/aws/smithy-go v1.14.2 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.19 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
golang.org/x/sys v0.9.0 // indirect | ||
github.com/stretchr/objx v0.5.0 // indirect | ||
golang.org/x/sys v0.12.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
go 1.20 | ||
|
||
use ( | ||
. | ||
./integration | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= | ||
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= | ||
golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= | ||
golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= | ||
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
module github.com/wolfeidau/s3iofs/integration | ||
|
||
go 1.20 | ||
|
||
require ( | ||
github.com/aws/aws-sdk-go-v2 v1.21.0 | ||
github.com/aws/aws-sdk-go-v2/service/s3 v1.38.5 | ||
github.com/aws/smithy-go v1.14.2 | ||
github.com/ory/dockertest/v3 v3.10.0 | ||
github.com/stretchr/testify v1.8.4 | ||
github.com/wolfeidau/s3iofs v1.2.0 | ||
) | ||
|
||
require ( | ||
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect | ||
github.com/Microsoft/go-winio v0.6.0 // indirect | ||
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect | ||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.13 // indirect | ||
github.com/aws/aws-sdk-go-v2/config v1.18.39 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.41 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.35 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.1.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.14 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.36 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.35 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.15.4 // indirect | ||
github.com/cenkalti/backoff/v4 v4.1.3 // indirect | ||
github.com/containerd/continuity v0.3.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/docker/cli v20.10.17+incompatible // indirect | ||
github.com/docker/docker v20.10.7+incompatible // indirect | ||
github.com/docker/go-connections v0.4.0 // indirect | ||
github.com/docker/go-units v0.4.0 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/mock v1.6.0 // indirect | ||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect | ||
github.com/imdario/mergo v0.3.12 // indirect | ||
github.com/mitchellh/mapstructure v1.4.1 // indirect | ||
github.com/moby/term v0.0.0-20201216013528-df9cb8a40635 // indirect | ||
github.com/opencontainers/go-digest v1.0.0 // indirect | ||
github.com/opencontainers/image-spec v1.0.2 // indirect | ||
github.com/opencontainers/runc v1.1.5 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/sirupsen/logrus v1.8.1 // indirect | ||
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect | ||
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect | ||
github.com/xeipuuv/gojsonschema v1.2.0 // indirect | ||
golang.org/x/mod v0.11.0 // indirect | ||
golang.org/x/net v0.11.0 // indirect | ||
golang.org/x/sys v0.9.0 // indirect | ||
golang.org/x/tools v0.10.0 // indirect | ||
gopkg.in/yaml.v2 v2.3.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.