@@ -350,36 +350,36 @@ public static void resetTestConfig() {
350350
351351 // sts test
352352 if (TestConfig .STS_TEST_ENDPOINT == null ) {
353- TestConfig .STS_TEST_ENDPOINT = System .getenv ().get ("STS_TEST_ENDPOINT " );
353+ TestConfig .STS_TEST_ENDPOINT = System .getenv ().get ("OSS_TEST_STS_ENDPOINT " );
354354 }
355355
356356 if (TestConfig .STS_TEST_ROLE == null ) {
357- TestConfig .STS_TEST_ROLE = System .getenv ().get ("STS_TEST_ROLE " );
357+ TestConfig .STS_TEST_ROLE = System .getenv ().get ("OSS_TEST_STS_ROLE " );
358358 }
359359
360360 if (TestConfig .STS_TEST_BUCKET == null ) {
361- TestConfig .STS_TEST_BUCKET = System .getenv ().get ("STS_TEST_BUCKET " );
361+ TestConfig .STS_TEST_BUCKET = System .getenv ().get ("OSS_TEST_STS_BUCKET " );
362362 }
363363
364364 // proxy test
365365 if (TestConfig .PROXY_HOST == null ) {
366- TestConfig .PROXY_HOST = System .getenv ().get ("PROXY_HOST " );
366+ TestConfig .PROXY_HOST = System .getenv ().get ("OSS_TEST_PROXY_HOST " );
367367 }
368368
369369 if (TestConfig .PROXY_PORT == -1 ) {
370370 TestConfig .PROXY_PORT = 3128 ;
371- String portStr = System .getenv ().get ("PROXY_PORT " );
371+ String portStr = System .getenv ().get ("OSS_TEST_PROXY_PORT " );
372372 if (portStr != null ) {
373373 TestConfig .PROXY_PORT = Integer .parseInt (portStr );
374374 }
375375 }
376376
377377 if (TestConfig .PROXY_USER == null ) {
378- TestConfig .PROXY_USER = System .getenv ().get ("PROXY_USER " );
378+ TestConfig .PROXY_USER = System .getenv ().get ("OSS_TEST_PROXY_USER " );
379379 }
380380
381381 if (TestConfig .PROXY_PASSWORD == null ) {
382- TestConfig .PROXY_PASSWORD = System .getenv ().get ("PROXY_PASSWORD " );
382+ TestConfig .PROXY_PASSWORD = System .getenv ().get ("OSS_TEST_PROXY_PASSWORD " );
383383 }
384384 }
385385
0 commit comments