TestImprove opened a new pull request, #229: URL: https://github.com/apache/commons-codec/pull/229
The runtime of the test class `MessageDigestAlgorithmsTest` can be improved by modifying the data array size in `DigestUtilsTest`. The byte array returned by `getTestData()` comes from DigestUtilsTest and has a size of `1024 * 1024`. When this array size is reduced to `32 * 32`, for example, the runtime of the `MessageDigestAlgorithmsTest` test class drops from `7.046 s` to `1.032 s` on our local machine. We propose not to make the tests in `MessageDigestAlgorithmsTest.java` rely on the data created by `DigestUtilsTest.java`. -- 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]
