Skip to content

Commit cf4852a

Browse files
Merge pull request #1 from hackintoshrao/min-go
Adding the first test.
2 parents 50c44eb + 8dd1c81 commit cf4852a

File tree

3 files changed

+1969
-1
lines changed

3 files changed

+1969
-1
lines changed

Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM golang:1.7-alpine
2+
3+
ADD . /home
4+
5+
WORKDIR /home/minio-go-functional-test/
6+
7+
RUN \
8+
apk add --no-cache bash git openssh && \
9+
go get -u github.com/minio/minio-go && \
10+
go test -c api_functional_v4_test.go
11+
12+
CMD ["./minio.test", "-test.timeout", "3600s","-test.v","-test.run","Test*"]

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,36 @@
1-
# mint
1+
# Mint
22
Collection of tests to detect resource leaks, gauge performance problems and overall quality of Minio server.
3+
4+
# Design.
5+
- Mint is designed to enable easy running of series of tests built using a wide variety of tools.
6+
- To make the task easier Mint is built as a single docker container with all the necessary dependencies and tools installed.
7+
8+
9+
# How to run.
10+
The project will be published in Docker hub after further more testing. Till then the docker image has to be build locally and run.
11+
12+
- Clone the repo
13+
14+
```sh
15+
$ git clone https://github.com/minio/mint.git
16+
```
17+
18+
```sh
19+
- Build and Run.
20+
21+
$ docker build -t minio/mint:alpha
22+
$ docker run -e ENDPOINT=play.minio.io:9000 -e ACCESS_KEY=Q3AM3UQ867SPQQA43P2F -e SECRET_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG -e ENABLE_HTTPS=1 mint:alpha
23+
```
24+
25+
# Options.
26+
Options are passed in as environment variables to the docker containers as seen above.
27+
28+
- `ENDPOINT` - <IP/URL>:<PORT> of the Minio server on which the tests has to be run.
29+
- `ACCESS_KEY` - Access Key of the server.
30+
- `SECRET_KEY` - Secret Key of the server.
31+
- `ENABLE_HTTPS` - Optional value when set to 1 sends HTTPS requests on SSL enabled deployment.
32+
33+
# Test Run.
34+
35+
- Minio-go functional test.
36+

0 commit comments

Comments
 (0)