Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
quoted from https://github.com/apache/yunikorn-core/pull/696#issuecomment-1820206504
Generate more random data in getResourceConf(), something more in the direction of rand.Intn(10000) instead of the seconds based setup.
In queue_test.go and template_test.go both use getResourceConf() that use seconds based random data. And not only getResourceConf(), template_test.go#getProperties() use seconds based random data too. Use rand.Intn instead of using seconds based random data could generate more random data.
Attachments
Issue Links
- links to