You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
810 B
20 lines
810 B
5 years ago
|
## `minio-js` tests
|
||
|
This directory serves as the location for Mint tests using `minio-js`. Top level `mint.sh` calls `run.sh` to execute tests.
|
||
|
|
||
|
## Adding new tests
|
||
|
New tests is added in functional tests of minio-js. Please check https://github.com/minio/minio-js
|
||
|
|
||
|
## Running tests manually
|
||
|
- Set environment variables `MINT_DATA_DIR`, `MINT_MODE`, `SERVER_ENDPOINT`, `ACCESS_KEY`, `SECRET_KEY`, `SERVER_REGION` and `ENABLE_HTTPS`
|
||
|
- Call `run.sh` with output log file and error log file. for example
|
||
|
```bash
|
||
|
export MINT_DATA_DIR=~/my-mint-dir
|
||
|
export MINT_MODE=core
|
||
|
export SERVER_ENDPOINT="play.minio.io:9000"
|
||
|
export ACCESS_KEY="Q3AM3UQ867SPQQA43P2F"
|
||
|
export SECRET_KEY="zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG"
|
||
|
export ENABLE_HTTPS=1
|
||
|
export SERVER_REGION=us-east-1
|
||
|
./run.sh /tmp/output.log /tmp/error.log
|
||
|
```
|