Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the first test. #1

Merged
merged 2 commits into from
Dec 26, 2016
Merged

Conversation

hackintoshrao
Copy link
Contributor

  • Readme with design and usage added.
  • First test added.
  • Minio-go functional test is used.

- Readme with design and usage added.
- First test added.
- Minio-go functional test is used.
```sh
- Build and Run.

$ docker build -t mint:alpha
Copy link
Member

Choose a reason for hiding this comment

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

This should be "docker build -t minio/mint:alpha"

- Build and Run.

$ docker build -t 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
Copy link
Member

Choose a reason for hiding this comment

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

One extract space after docker run

RUN \
apk add --no-cache bash git openssh && \
go get -u github.com/minio/minio-go && \
go build exec-concurrent.go && \
Copy link
Member

Choose a reason for hiding this comment

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

exec-concurrent.go is not present. yet.. ? is this a future file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, This is future file. Will remove it for now.

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
Contributor 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 .

Copy link
Member

@harshavardhana harshavardhana left a comment

Choose a reason for hiding this comment

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

Some changes..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants