storj.io/minio@v0.0.0-20230509071714-0cbc90f649b1/mint/run/core/s3select/README.md (about)

     1  
     2  ## `s3select` tests
     3  This directory serves as the location for Mint tests for s3select features.  Top level `mint.sh` calls `run.sh` to execute tests.
     4  
     5  ## Adding new tests
     6  New tests are added into `s3select/tests.py` as new functions.
     7  
     8  ## Running tests manually
     9  - Set environment variables `MINT_DATA_DIR`, `MINT_MODE`, `SERVER_ENDPOINT`, `ACCESS_KEY`, `SECRET_KEY`, `SERVER_REGION` and `ENABLE_HTTPS`
    10  - Call `run.sh` with output log file and error log file. for example
    11  
    12  ```bash
    13  export MINT_DATA_DIR=~/my-mint-dir
    14  export MINT_MODE=core
    15  export SERVER_ENDPOINT="play.min.io"
    16  export ACCESS_KEY="Q3AM3UQ867SPQQA43P2F"
    17  export SECRET_KEY="zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG"
    18  export ENABLE_HTTPS=1
    19  export SERVER_REGION=us-east-1
    20  ./run.sh /tmp/output.log /tmp/error.log
    21  ```