minio / mint

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

Add more entropy to random name generated during PHP tests #331

Closed halkyon closed 2 years ago

halkyon commented 2 years ago

I have seen values uniqid() produces to be quite similar, and according to https://www.php.net/uniqid it's not guaranteed to produce a unique value as it's based on the system clock.

This change sets the more_entropy parameter to increase the likelihood that the value returned is unique. I also removed the dot generated in the resulting value, incase it causes problems with tests.