Skip to content

Commit f02b399

Browse files
committed
Merge branch 'release/0.34.x_session' into 'release/0.34.x'
disable session case See merge request !843042
1 parent 729a0ac commit f02b399

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

odps-sdk/odps-sdk-core/src/test/java/com/aliyun/odps/SessionV2Test.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static Session createSession(String name) throws OdpsException {
6161
return session;
6262
}
6363

64-
@Test
64+
//@Test
6565
public void testUseSession() throws OdpsException {
6666
Session copySession = new Session(odps, session.getInstance());
6767

@@ -87,7 +87,7 @@ public void testGetSqlStats() throws OdpsException {
8787
System.out.println(stats);
8888
}
8989

90-
@Test
90+
//@Test
9191
public void testAttachSession() throws OdpsException {
9292
Session attachSession = Session.attach(odps, sessionName);
9393
System.out.println("Attatch session success: " + session.getInstance().getId());
@@ -99,7 +99,7 @@ public void testAttachSession() throws OdpsException {
9999
checkResult(attachSession.getSubQueryResult(info.queryId).getRecords());
100100
}
101101

102-
@Test
102+
//@Test
103103
public void testListSession() throws OdpsException {
104104
Sessions sessions = new Sessions(odps);
105105
boolean found = false;
@@ -121,7 +121,7 @@ public void testListSession() throws OdpsException {
121121
Assert.assertTrue(found);
122122
}
123123

124-
@Test
124+
//@Test
125125
public void testSetGetInformation() throws OdpsException {
126126
Session copySession = new Session(odps, session.getInstance());
127127

@@ -136,7 +136,7 @@ public void testSetGetInformation() throws OdpsException {
136136
Assert.assertTrue(whitelist.contains("test_project"));
137137
}
138138

139-
@Test
139+
//@Test
140140
public void testVariables() throws OdpsException {
141141
Session attachSession = Session.attach(odps, sessionName);
142142
System.out.println("Attatch session success: " + session.getInstance().getId());

odps-sdk/odps-sdk-core/src/test/java/com/aliyun/odps/sqa/SQLExecutorTest.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static void prepare() throws OdpsException, IOException {
9292
session.waitForStart(0);
9393
}
9494

95-
@Test
95+
//@Test
9696
public void testExecutorPoolNormal() throws OdpsException {
9797
Map<String, String> properties = new HashMap<>();
9898
SQLExecutorPoolBuilder sqlExecutorPoolBuilder = SQLExecutorPoolBuilder.builder();
@@ -173,7 +173,7 @@ public void testExecutorPoolNormal() throws OdpsException {
173173
sqlExecutorPool.close();
174174
}
175175

176-
@Test
176+
//@Test
177177
public void testExecutor() throws OdpsException,IOException {
178178
Map<String, String> properties = new HashMap<>();
179179
SQLExecutorBuilder builder = SQLExecutorBuilder.builder();
@@ -205,7 +205,7 @@ public void testExecutor() throws OdpsException,IOException {
205205
}
206206
}
207207

208-
@Test
208+
//@Test
209209
public void testExecutorResultSet() throws OdpsException,IOException {
210210
Map<String, String> properties = new HashMap<>();
211211
SQLExecutorBuilder builder = SQLExecutorBuilder.builder();
@@ -238,7 +238,7 @@ public void testExecutorResultSet() throws OdpsException,IOException {
238238
}
239239
}
240240

241-
@Test
241+
//@Test
242242
public void testExecutorWithLimit() throws OdpsException,IOException {
243243
int limit = 5;
244244
Map<String, String> properties = new HashMap<>();
@@ -290,7 +290,7 @@ public void testExecutorWithLimit() throws OdpsException,IOException {
290290
}
291291
}
292292

293-
@Test
293+
//@Test
294294
public void testExecutorDefaultOffline() throws OdpsException,IOException {
295295
int limit = 3;
296296
Map<String, String> properties = new HashMap<>();
@@ -366,7 +366,7 @@ public void testExecutorDefaultOffline() throws OdpsException,IOException {
366366
}
367367
}
368368

369-
@Test
369+
//@Test
370370
public void testExecutorFallback() throws OdpsException,IOException {
371371
Map<String, String> properties = new HashMap<>();
372372
SQLExecutorBuilder builder = SQLExecutorBuilder.builder();
@@ -398,7 +398,7 @@ public void testExecutorFallback() throws OdpsException,IOException {
398398
}
399399
}
400400

401-
@Test
401+
//@Test
402402
public void testExecutorResultSetFallback() throws OdpsException,IOException {
403403
Map<String, String> properties = new HashMap<>();
404404
SQLExecutorBuilder builder = SQLExecutorBuilder.builder();
@@ -434,7 +434,7 @@ public void testExecutorResultSetFallback() throws OdpsException,IOException {
434434
}
435435
}
436436

437-
@Test
437+
//@Test
438438
public void testExecutorResultSetDisableFallback() throws OdpsException,IOException {
439439
Map<String, String> properties = new HashMap<>();
440440
SQLExecutorBuilder builder = SQLExecutorBuilder.builder();
@@ -466,7 +466,7 @@ public void testExecutorResultSetDisableFallback() throws OdpsException,IOExcept
466466
}
467467
}
468468

469-
@Test
469+
//@Test
470470
public void testExecutorRecover() throws OdpsException,IOException {
471471
Map<String, String> properties = new HashMap<>();
472472
Session attach = Session.attach(odps, sessionName, properties, SQLExecutorConstants.DEFAULT_ATTACH_TIMEOUT);
@@ -499,7 +499,7 @@ public void testExecutorRecover() throws OdpsException,IOException {
499499
}
500500
}
501501

502-
@Test
502+
//@Test
503503
public void testExecutorRecoverInvalid() throws OdpsException,IOException {
504504
Map<String, String> properties = new HashMap<>();
505505
Session attach = Session.attach(odps, sessionName, properties, SQLExecutorConstants.DEFAULT_ATTACH_TIMEOUT);
@@ -538,7 +538,7 @@ public void testExecutorRecoverInvalid() throws OdpsException,IOException {
538538
}
539539
}
540540

541-
@Test
541+
//@Test
542542
public void testExecutorReattach() throws OdpsException,IOException {
543543
Map<String, String> properties = new HashMap<>();
544544
Session attach = Session.attach(odps, sessionName, properties, SQLExecutorConstants.DEFAULT_ATTACH_TIMEOUT);
@@ -592,7 +592,7 @@ public void testExecutorReattach() throws OdpsException,IOException {
592592
}
593593
}
594594

595-
@Test
595+
//@Test
596596
public void testExecutorDisableReattach() throws OdpsException,IOException {
597597
Map<String, String> properties = new HashMap<>();
598598
Session attach = Session.attach(odps, sessionName, properties, SQLExecutorConstants.DEFAULT_ATTACH_TIMEOUT);
@@ -641,7 +641,7 @@ public void testExecutorDisableReattach() throws OdpsException,IOException {
641641
}
642642
}
643643

644-
@Test
644+
//@Test
645645
public void testExecutorNotSelect() throws OdpsException,IOException {
646646
Map<String, String> properties = new HashMap<>();
647647
SQLExecutorBuilder builder = SQLExecutorBuilder.builder();
@@ -690,7 +690,7 @@ public void testExecutorNotSelect() throws OdpsException,IOException {
690690
}
691691
}
692692

693-
@Test
693+
//@Test
694694
public void testExecutorResultSetNotSelect() throws OdpsException,IOException {
695695
Map<String, String> properties = new HashMap<>();
696696
SQLExecutorBuilder builder = SQLExecutorBuilder.builder();
@@ -738,7 +738,7 @@ public void testExecutorResultSetNotSelect() throws OdpsException,IOException {
738738
}
739739
}
740740

741-
@Test
741+
//@Test
742742
public void testExecutorDisableTunnel() throws OdpsException,IOException {
743743
Map<String, String> properties = new HashMap<>();
744744
SQLExecutorBuilder builder = SQLExecutorBuilder.builder();
@@ -837,7 +837,7 @@ public void testExecutorDisableTunnel() throws OdpsException,IOException {
837837
}
838838
}
839839

840-
@Test
840+
//@Test
841841
public void testExecutorGetResultTwice() throws OdpsException,IOException {
842842
Map<String, String> properties = new HashMap<>();
843843
SQLExecutorBuilder builder = SQLExecutorBuilder.builder();

0 commit comments

Comments
 (0)