Closed Mesbah-Alam closed 5 years ago
Related: https://github.com/eclipse/openj9-systemtest/issues/75#issuecomment-458185307:
"The length of path "C:\Users\jenkins\workspace\Test-extended.system-JDK8-win_x86-64_cmprssptrs\openjdk-tests\TestConfig\test_output_15477678633841\SharedClassesAPI_0\20190117-174310-SharedClassesAPI\results\caches\javasharedresources\C290M4F1A64_DefinedLocationGroupAccessJavaWL4_G35" is 262, which is greater than MAX_PATH(=260) on Windows. The cacheDir/cacheName is too long. The test needs to be updated to use a shorter cacheDir/cacheName."
What's done in this PR:
In order to keep length of cache dir within 260 chars, 1) Cache Dir can simply be the test directory (changed);
Tests
. We can make these names a bit shorter, without compromising on readability.(done). @hangshao0 - FYI.
@smlambert - could you please review and merge this PR?
Tested on Windows using internal Jenkins (link shared on Slack).
Teated on Linux here: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/926/console
Signed-off-by: Mesbah_Alam@ca.ibm.com Mesbah_Alam@ca.ibm.com