minio / mint

Collection of tests to detect overall correctness of MinIO server.
Apache License 2.0
81 stars 50 forks source link

Use correct minio-java version in test run phase #187

Closed nitisht closed 6 years ago

nitisht commented 6 years ago

run/core/minio-java/run.sh script should use the minio-java version downloaded during build phase to run minio-java tests

fixes https://github.com/minio/mint/issues/186

nitisht commented 6 years ago

Modify line 36 to java -cp "/mint/run/core/minio-java:." FunctionalTest \

Agreed, this should work. Will change to this

nitisht commented 6 years ago

@balamurugana

Modify line 36 to java -cp "/mint/run/core/minio-java:." FunctionalTest \

This is not working, path to exact jar file is needed.

nitisht commented 6 years ago

Updated with different approach @balamurugana please check.

nitisht commented 6 years ago

Tested with this build, works fine

Running with
SERVER_ENDPOINT: 127.0.0.1:9000
ACCESS_KEY:      minio
SECRET_KEY:      ***REDACTED***
ENABLE_HTTPS:    0
SERVER_REGION:   us-east-1
MINT_DATA_DIR:   /mint/data
MINT_MODE:       core
To get intermittent logs, 'sudo docker cp 8136b886d1f3:/mint/log /tmp/mint-logs'
Running aws-sdk-php tests ... done in 41 seconds
Running aws-sdk-ruby tests ... done in 1 seconds
Running awscli tests ... done in 22 seconds
Running mc tests ... done in 4 seconds
Running minio-go tests ... done in 21 seconds
Running minio-java tests ... done in 6 seconds
Running minio-js tests ... done in 23 seconds
Running minio-py tests ... done in 10 seconds
Running s3cmd tests ... done in 7 seconds
Finished running all tests.
To get logs, run 'sudo docker cp 8136b886d1f3:/mint/log /tmp/mint-logs'