-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding distributed functional test. (#3)
* Adding distributed functional test. - Since Minio distributed doesn't have a suite, this called can be run to test most of functionalities. * Adding Dockerfile instructions. - Adding Minio distributed functional test. - Adding instructions to run from Docker. - S3_ADDRESS env variable is used for server ENDPOINT. - Readme.md changed accordingly.
- Loading branch information
1 parent
6e066fa
commit 5af32f3
Showing
4 changed files
with
4,718 additions
and
150 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
FROM golang:1.7-alpine | ||
|
||
ADD . /home | ||
COPY . /home | ||
|
||
WORKDIR /home/minio-go-functional-test/ | ||
WORKDIR /home | ||
|
||
RUN \ | ||
apk add --no-cache bash git openssh && \ | ||
go get -u github.com/minio/minio-go && \ | ||
go test -c api_functional_v4_test.go | ||
go test -c /home/minio-functional-test/server_test.go && \ | ||
go test -c /home/minio-go-functional-test/api_functional_v4_test.go | ||
|
||
CMD ["./minio.test", "-test.timeout", "3600s","-test.v","-test.run","Test*"] | ||
CMD /home/cmd.test -test.v && \ | ||
/home/minio.test -test.timeout 3600s -test.v | ||
|
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
Oops, something went wrong.