Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Adding the first test.#1

Merged
harshavardhana merged 2 commits intominio:masterfrom
hackintoshrao:min-go
Dec 26, 2016
Merged

Adding the first test.#1
harshavardhana merged 2 commits intominio:masterfrom
hackintoshrao:min-go

Conversation

@hackintoshrao
Copy link
Copy Markdown

  • 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.
README.md Outdated
```sh
- Build and Run.

$ docker build -t mint:alpha
Copy link
Copy Markdown
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"

README.md Outdated
- 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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants