brandboat opened a new pull request, #728: URL: https://github.com/apache/yunikorn-core/pull/728
### What is this PR for? 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. ### What type of PR is it? * [x] - Improvement ### Todos N/A ### What is the Jira issue? https://issues.apache.org/jira/browse/YUNIKORN-2168 ### How should this be tested? covered by unit test ### Screenshots (if appropriate) N/A ### Questions: N/A -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
