forked from TrueCloudLab/frostfs-s3-gw
22 lines
773 B
Markdown
22 lines
773 B
Markdown
|
|
||
|
## `s3select` tests
|
||
|
This directory serves as the location for Mint tests for s3select features. Top level `mint.sh` calls `run.sh` to execute tests.
|
||
|
|
||
|
## Adding new tests
|
||
|
New tests are added into `s3select/tests.py` as new functions.
|
||
|
|
||
|
## 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.min.io"
|
||
|
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
|
||
|
```
|