File tree Expand file tree Collapse file tree 4 files changed +9
-16
lines changed
library/src/test/java/com/alibaba/dcm/agent Expand file tree Collapse file tree 4 files changed +9
-16
lines changed Original file line number Diff line number Diff line change 22
33import com .alibaba .dcm .DnsCacheManipulator ;
44import org .apache .commons .io .FileUtils ;
5- import org .junit .After ;
65import org .junit .Before ;
76import org .junit .Test ;
87
@@ -35,15 +34,6 @@ public void setUp() throws Exception {
3534 DnsCacheManipulator .clearDnsCache ();
3635 }
3736
38- @ After
39- public void tearDown () throws Exception {
40- System .out .println ("============================================" );
41- System .out .println ("Agent Output File Content" );
42- System .out .println ("============================================" );
43- final String text = FileUtils .readFileToString (outputFile , UTF8 );
44- System .out .println (text );
45- }
46-
4737 @ Test
4838 public void test_agentmain_empty () throws Exception {
4939 DcmAgent .agentmain (" " );
Original file line number Diff line number Diff line change 22set -eEuo pipefail
33cd " $( dirname " $( readlink -f " $0 " ) " ) "
44
5+ export DCM_AGENT_SUPRESS_EXCEPTION_STACK=true
6+
57source ./common_build.sh
68source ./prepare-jdk.sh
79
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ set -eEuo pipefail
33cd " $( dirname " $( readlink -f " $0 " ) " ) "
44
55export CI_TEST_MODE=true
6+ export DCM_AGENT_SUPRESS_EXCEPTION_STACK=true
67
78source ./prepare-jdk.sh
89source ./common_build.sh
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ __loadSdkman() {
1717
1818 curl -s get.sdkman.io | bash || die " fail to install sdkman"
1919 this_time_install_sdk_man=true
20- fi
2120
22- {
23- echo sdkman_auto_answer=true
24- echo sdkman_auto_selfupdate=false
25- echo sdkman_disable_auto_upgrade_check=true
26- } >> " $HOME /.sdkman/etc/config"
21+ {
22+ echo sdkman_auto_answer=true
23+ echo sdkman_auto_selfupdate=false
24+ echo sdkman_disable_auto_upgrade_check=true
25+ } >> " $HOME /.sdkman/etc/config"
26+ fi
2727
2828 set +u
2929 # shellcheck disable=SC1090
You can’t perform that action at this time.
0 commit comments