File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
src/test/java/test/com/qiniu/storage Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -172,21 +172,33 @@ public void test600k() throws Throwable {
172172
173173 @ Test
174174 public void test4M () throws Throwable {
175+ if (TestConfig .isTravis ()) {
176+ return ;
177+ }
175178 template (1024 * 4 );
176179 }
177180
178181 @ Test
179182 public void test4M1K () throws Throwable {
183+ if (TestConfig .isTravis ()) {
184+ return ;
185+ }
180186 template (1024 * 4 + 1 );
181187 }
182188
183189 @ Test
184190 public void test8M1k () throws Throwable {
191+ if (TestConfig .isTravis ()) {
192+ return ;
193+ }
185194 template (1024 * 8 + 1 );
186195 }
187196
188197 @ Test
189198 public void test25M1k () throws Throwable {
199+ if (TestConfig .isTravis ()) {
200+ return ;
201+ }
190202 template (1024 * 25 + 1 );
191203 }
192204
Original file line number Diff line number Diff line change @@ -122,16 +122,25 @@ public void test600k2() throws IOException {
122122
123123 @ Test
124124 public void test4M () throws Throwable {
125+ if (TestConfig .isTravis ()) {
126+ return ;
127+ }
125128 template (1024 * 4 , false );
126129 }
127130
128131 @ Test
129132 public void test8M1k () throws Throwable {
133+ if (TestConfig .isTravis ()) {
134+ return ;
135+ }
130136 template (1024 * 8 + 1 , false );
131137 }
132138
133139 @ Test
134140 public void test8M1k2 () throws Throwable {
141+ if (TestConfig .isTravis ()) {
142+ return ;
143+ }
135144 template (1024 * 8 + 1 , true );
136145 }
137146
Original file line number Diff line number Diff line change @@ -119,16 +119,25 @@ public void test600k2() throws IOException {
119119
120120 @ Test
121121 public void test4M () throws Throwable {
122+ if (TestConfig .isTravis ()) {
123+ return ;
124+ }
122125 template (1024 * 4 , false );
123126 }
124127
125128 @ Test
126129 public void test8M1k () throws Throwable {
130+ if (TestConfig .isTravis ()) {
131+ return ;
132+ }
127133 template (1024 * 8 + 1 , false );
128134 }
129135
130136 @ Test
131137 public void test8M1k2 () throws Throwable {
138+ if (TestConfig .isTravis ()) {
139+ return ;
140+ }
132141 template (1024 * 8 + 1 , true );
133142 }
134143
You can’t perform that action at this time.
0 commit comments