Skip to content

Commit c26498d

Browse files
committed
build: disable tests
1 parent 174d371 commit c26498d

File tree

11 files changed

+25
-3
lines changed

11 files changed

+25
-3
lines changed

e2e-tests/src/test/java/com/huawei/cloud/tests/OtcTransferEndToEndTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import org.eclipse.edc.junit.extensions.RuntimePerClassExtension;
3333
import org.junit.jupiter.api.AfterEach;
3434
import org.junit.jupiter.api.BeforeEach;
35+
import org.junit.jupiter.api.Disabled;
3536
import org.junit.jupiter.api.Test;
3637
import org.junit.jupiter.api.extension.RegisterExtension;
3738

@@ -48,6 +49,7 @@
4849
import static org.eclipse.edc.spi.constants.CoreConstants.EDC_NAMESPACE;
4950

5051
@OtcTest
52+
@Disabled("only for release 0.13.2")
5153
public class OtcTransferEndToEndTest {
5254

5355
public static final String TESTFILE_NAME = "testfile.json";

extensions/control-plane/provision-obs/src/test/java/com/huawei/cloud/provision/obs/ObsProvisionerOtcTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import com.obs.services.exception.ObsException;
2323
import com.obs.services.internal.ObsConstraint;
2424
import org.eclipse.edc.policy.model.Policy;
25+
import org.junit.jupiter.api.Disabled;
2526
import org.junit.jupiter.api.Test;
2627

2728
import java.util.UUID;
@@ -31,6 +32,7 @@
3132
import static org.assertj.core.api.Assertions.assertThatThrownBy;
3233

3334
@OtcTest
35+
@Disabled("only for release 0.13.2")
3436
public class ObsProvisionerOtcTest extends ObsProvisionerTestBase {
3537

3638
private static final String OBS_OTC_CLOUD_URL = "https://obs.eu-de.otc.t-systems.com";

extensions/control-plane/store/asset-index-gaussdb/src/test/java/com/huawei/cloud/store/gaussdb/assetindex/GaussDbAssetIndexTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import org.junit.jupiter.api.AfterAll;
3939
import org.junit.jupiter.api.BeforeAll;
4040
import org.junit.jupiter.api.BeforeEach;
41+
import org.junit.jupiter.api.Disabled;
4142
import org.junit.jupiter.api.DisplayName;
4243
import org.junit.jupiter.api.Test;
4344
import org.junit.jupiter.api.extension.ExtendWith;
@@ -64,6 +65,7 @@
6465
import static org.eclipse.edc.spi.result.StoreFailure.Reason.NOT_FOUND;
6566

6667
@GaussDbTest
68+
@Disabled("only for release 0.13.2")
6769
@ExtendWith(GaussDbTestExtension.class)
6870
class GaussDbAssetIndexTest {
6971
private static final BaseSqlDialectStatements SQL_STATEMENTS = new PostgresDialectStatements();
@@ -605,4 +607,4 @@ static void prepare(GaussDbTestExtension.SqlHelper runner) throws IOException {
605607
static void deleteTable(GaussDbTestExtension.SqlHelper runner) {
606608
runner.dropTable(SQL_STATEMENTS.getAssetTable());
607609
}
608-
}
610+
}

extensions/control-plane/store/contract-definition-store-gaussdb/src/test/java/com/huawei/cloud/store/gaussdb/contractdefinition/GaussDbContractDefinitionStoreTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import org.junit.jupiter.api.AfterAll;
3434
import org.junit.jupiter.api.BeforeAll;
3535
import org.junit.jupiter.api.BeforeEach;
36+
import org.junit.jupiter.api.Disabled;
3637
import org.junit.jupiter.api.DisplayName;
3738
import org.junit.jupiter.api.Test;
3839
import org.junit.jupiter.api.extension.ExtendWith;
@@ -60,6 +61,7 @@
6061

6162

6263
@GaussDbTest
64+
@Disabled("only for release 0.13.2")
6365
@ExtendWith(GaussDbTestExtension.class)
6466
class GaussDbContractDefinitionStoreTest {
6567
private static final BaseSqlDialectStatements SQL_STATEMENTS = new GaussDbStatements();
@@ -603,4 +605,4 @@ static void createDatabase(GaussDbTestExtension.SqlHelper runner) throws IOExcep
603605
static void deleteTable(GaussDbTestExtension.SqlHelper runner) {
604606
runner.dropTable(SQL_STATEMENTS.getContractDefinitionTable());
605607
}
606-
}
608+
}

extensions/control-plane/store/contract-negotiation-store-gaussdb/src/test/java/com/huawei/cloud/store/gaussdb/contractnegotiationstore/GaussDbContractNegotiationStoreTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
import org.junit.jupiter.api.AfterAll;
4444
import org.junit.jupiter.api.BeforeAll;
4545
import org.junit.jupiter.api.BeforeEach;
46+
import org.junit.jupiter.api.Disabled;
4647
import org.junit.jupiter.api.DisplayName;
4748
import org.junit.jupiter.api.Test;
4849
import org.junit.jupiter.api.extension.ExtendWith;
@@ -77,6 +78,7 @@
7778

7879
@GaussDbTest
7980
@ExtendWith(GaussDbTestExtension.class)
81+
@Disabled("only for release 0.13.2")
8082
class GaussDbContractNegotiationStoreTest {
8183

8284
protected static final String CONNECTOR_NAME = "test-connector";

extensions/control-plane/store/data-plane-instance-store-gaussdb/src/test/java/com/huawei/cloud/store/gaussdb/assetindex/GaussDbDataPlaneInstanceStoreTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import org.junit.jupiter.api.AfterAll;
2929
import org.junit.jupiter.api.BeforeAll;
3030
import org.junit.jupiter.api.BeforeEach;
31+
import org.junit.jupiter.api.Disabled;
3132
import org.junit.jupiter.api.Test;
3233
import org.junit.jupiter.api.extension.ExtendWith;
3334

@@ -40,6 +41,7 @@
4041
import static org.assertj.core.api.Assertions.assertThat;
4142

4243
@GaussDbTest
44+
@Disabled("only for release 0.13.2")
4345
@ExtendWith(GaussDbTestExtension.class)
4446
class GaussDbDataPlaneInstanceStoreTest {
4547
private static final DataPlaneInstanceStatements SQL_STATEMENTS = new PostgresDataPlaneInstanceStatements();

extensions/control-plane/store/policy-definition-store-gaussdb/src/test/java/com/huawei/cloud/store/gaussdb/policydefinition/GaussDbPolicyDefinitionStoreTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import org.junit.jupiter.api.AfterAll;
3838
import org.junit.jupiter.api.BeforeAll;
3939
import org.junit.jupiter.api.BeforeEach;
40+
import org.junit.jupiter.api.Disabled;
4041
import org.junit.jupiter.api.DisplayName;
4142
import org.junit.jupiter.api.Test;
4243
import org.junit.jupiter.api.extension.ExtendWith;
@@ -63,6 +64,7 @@
6364
import static org.eclipse.edc.spi.result.StoreFailure.Reason.NOT_FOUND;
6465

6566
@GaussDbTest
67+
@Disabled("only for release 0.13.2")
6668
@ExtendWith(GaussDbTestExtension.class)
6769
class GaussDbPolicyDefinitionStoreTest {
6870
private static final BaseSqlDialectStatements SQL_STATEMENTS = new GaussDbStatements();
@@ -618,4 +620,4 @@ private PolicyDefinition createPolicyDef(String id, String target) {
618620
private QuerySpec createQuery(Criterion criterion) {
619621
return QuerySpec.Builder.newInstance().filter(criterion).build();
620622
}
621-
}
623+
}

extensions/control-plane/store/policy-monitor-store-gaussdb/src/test/java/com/huawei/cloud/store/gaussdb/policymonitor/GaussDbPolicyMonitorProcessStoreTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import org.junit.jupiter.api.AfterAll;
3434
import org.junit.jupiter.api.BeforeAll;
3535
import org.junit.jupiter.api.BeforeEach;
36+
import org.junit.jupiter.api.Disabled;
3637
import org.junit.jupiter.api.Test;
3738
import org.junit.jupiter.api.extension.ExtendWith;
3839

@@ -55,6 +56,7 @@
5556
import static org.testcontainers.shaded.org.hamcrest.Matchers.hasSize;
5657

5758
@GaussDbTest
59+
@Disabled("only for release 0.13.2")
5860
@ExtendWith(GaussDbTestExtension.class)
5961
class GaussDbPolicyMonitorProcessStoreTest {
6062

extensions/control-plane/store/transfer-process-store-gaussdb/src/test/java/com/huawei/cloud/store/gaussdb/transferprocess/GaussDbTransferProcessStoreTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import org.junit.jupiter.api.AfterAll;
3838
import org.junit.jupiter.api.BeforeAll;
3939
import org.junit.jupiter.api.BeforeEach;
40+
import org.junit.jupiter.api.Disabled;
4041
import org.junit.jupiter.api.DisplayName;
4142
import org.junit.jupiter.api.Test;
4243
import org.junit.jupiter.api.extension.ExtendWith;
@@ -70,6 +71,7 @@
7071
import static org.testcontainers.shaded.org.hamcrest.Matchers.hasSize;
7172

7273
@GaussDbTest
74+
@Disabled("only for release 0.13.2")
7375
@ExtendWith(GaussDbTestExtension.class)
7476
class GaussDbTransferProcessStoreTest {
7577

extensions/data-plane/data-plane-obs/src/test/java/com/huawei/cloud/transfer/obs/ObsDataSinkOtcTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919
import com.obs.services.ObsClient;
2020
import org.jetbrains.annotations.NotNull;
2121
import org.junit.jupiter.api.AfterEach;
22+
import org.junit.jupiter.api.Disabled;
2223
import org.junit.jupiter.api.TestInfo;
2324

2425
import java.util.UUID;
2526

2627
@OtcTest
28+
@Disabled("only for release 0.13.2")
2729
class ObsDataSinkOtcTest extends ObsDataSinkTestBase {
2830

2931
public static final String OTC_CLOUD_URL = "https://obs.eu-de.otc.t-systems.com";

0 commit comments

Comments
 (0)