@@ -93,7 +93,7 @@ public void tearDown() throws Exception {
9393 }
9494
9595 @ SmallTest
96- public void testS () throws IOException , JSONException , InterruptedException {
96+ public void testIOkilo () throws IOException , JSONException , InterruptedException {
9797 file = createFile (0.2 , ".test" );
9898 uri = Uri .fromFile (file );
9999 IO .putFile (context , uptoken , key , uri , extra , jsonRet );
@@ -114,7 +114,7 @@ public void testIOMultiHost() throws IOException, JSONException, InterruptedExce
114114 }
115115
116116 @ MediumTest
117- public void testM () throws IOException , JSONException , InterruptedException {
117+ public void testIOMega () throws IOException , JSONException , InterruptedException {
118118 file = createFile (0.1 , "--—— 中 文 .test" );
119119 uri = Uri .fromFile (file );
120120 IO .putFile (context , uptoken , key , uri , extra , jsonRet );
@@ -123,7 +123,7 @@ public void testM() throws IOException, JSONException, InterruptedException {
123123 }
124124
125125 @ SmallTest
126- public void testRS () throws IOException , JSONException , InterruptedException {
126+ public void testRIOkilo () throws IOException , JSONException , InterruptedException {
127127 file = createFile (0.2 , ".test" );
128128 uri = Uri .fromFile (file );
129129 ResumableIO .putFile (context , uptoken , key , uri , rextra , jsonRet );
@@ -132,14 +132,26 @@ public void testRS() throws IOException, JSONException, InterruptedException {
132132 }
133133
134134 @ MediumTest
135- public void testRM () throws IOException , JSONException , InterruptedException {
135+ public void testRIOMega () throws IOException , JSONException , InterruptedException {
136136 file = createFile (4 , ".test" );
137137 uri = Uri .fromFile (file );
138138 ResumableIO .putFile (context , uptoken , key , uri , rextra , jsonRet );
139139 sem .acquire ();
140140 successCheck ();
141141 }
142142
143+ @ MediumTest
144+ public void testRIOMutiHost () throws IOException , JSONException , InterruptedException {
145+ String old = Conf .UP_HOST ;
146+ Conf .UP_HOST = "http://127.0.0.1:1" ;
147+ file = createFile (4 , ".test" );
148+ uri = Uri .fromFile (file );
149+ ResumableIO .putFile (context , uptoken , key , uri , rextra , jsonRet );
150+ sem .acquire ();
151+ Conf .UP_HOST = old ;
152+ successCheck ();
153+ }
154+
143155 // @MediumTest
144156 // public void testRL() throws IOException, JSONException, InterruptedException {
145157 // file = createFile(8.6, ".test");
0 commit comments