Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM golang:1.7-alpine

ADD . /home

WORKDIR /home/minio-go-functional-test/

RUN \
apk add --no-cache bash git openssh && \
go get -u github.com/minio/minio-go && \
go test -c api_functional_v4_test.go
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might have to cd into minio-go directory. Then you don't need to include api_functional_v4_test.go into this project itself.

Copy link
Author

@hackintoshrao hackintoshrao Dec 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have slight modifications to the test file in terms of using environment variables. Also will be bringing in exec-concurrent .


CMD ["./minio.test", "-test.timeout", "3600s","-test.v","-test.run","Test*"]
36 changes: 35 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,36 @@
# mint
# Mint
Collection of tests to detect resource leaks, gauge performance problems and overall quality of Minio server.

# Design.
- Mint is designed to enable easy running of series of tests built using a wide variety of tools.
- To make the task easier Mint is built as a single docker container with all the necessary dependencies and tools installed.


# How to run.
The project will be published in Docker hub after further more testing. Till then the docker image has to be build locally and run.

- Clone the repo

```sh
$ git clone https://github.com/minio/mint.git
```

```sh
- Build and Run.

$ docker build -t minio/mint:alpha
$ docker run -e ENDPOINT=play.minio.io:9000 -e ACCESS_KEY=Q3AM3UQ867SPQQA43P2F -e SECRET_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG -e ENABLE_HTTPS=1 mint:alpha
```

# Options.
Options are passed in as environment variables to the docker containers as seen above.

- `ENDPOINT` - <IP/URL>:<PORT> of the Minio server on which the tests has to be run.
- `ACCESS_KEY` - Access Key of the server.
- `SECRET_KEY` - Secret Key of the server.
- `ENABLE_HTTPS` - Optional value when set to 1 sends HTTPS requests on SSL enabled deployment.

# Test Run.

- Minio-go functional test.

Loading