athens icon indicating copy to clipboard operation
athens copied to clipboard

Test for minio and mongo are currently skipped in local environment

Open t-tomalak opened this issue 8 years ago • 0 comments

Describe the bug Test for minio and mongo are currently skipped, because in storage/minio_test.go we expect enviornment variable with URL. Same thing happens for storage/mongo_test.go but there enviornment variable should be also changed from: url := os.Getenv("ATHENS_MONGO_URL") to url := os.Getenv("ATHENS_MONGO_STORAGE_URL")

To Reproduce

  1. make test-unit

0% of coverage is shown for mongo and minio and and there is no info that this test are skipped

Expected behavior Test should be run automaticaly, without any special configuration

Additional context In Travis CI configuration environment variable ATHENS_MONGO_STORAGE_URL is missing

t-tomalak avatar Oct 18 '18 18:10 t-tomalak