Skip to content

Commit 414bfbc

Browse files
Marius Postaxiaohansong
authored andcommitted
destination-e2e-test,dev-null: use CDK 0.20.6 (#35278)
1 parent 595cc36 commit 414bfbc

File tree

7 files changed

+16
-26
lines changed

7 files changed

+16
-26
lines changed
Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,18 @@
11
plugins {
2-
id 'application'
32
id 'airbyte-java-connector'
43
}
54

65
airbyteJavaConnector {
7-
cdkVersionRequired = '0.2.0'
6+
cdkVersionRequired = '0.20.6'
87
features = ['db-destinations']
98
useLocalCdk = false
109
}
1110

12-
//remove once upgrading the CDK version to 0.4.x or later
13-
java {
14-
compileJava {
15-
options.compilerArgs.remove("-Werror")
16-
}
17-
}
18-
19-
airbyteJavaConnector.addCdkDependencies()
20-
2111
application {
2212
mainClass = 'io.airbyte.integrations.destination.dev_null.DevNullDestination'
2313
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
2414
}
2515

2616
dependencies {
2717
implementation project(':airbyte-integrations:connectors:destination-e2e-test')
28-
29-
integrationTestJavaImplementation project(':airbyte-integrations:connectors:destination-dev-null')
3018
}

airbyte-integrations/connectors/destination-dev-null/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ data:
22
connectorSubtype: file
33
connectorType: destination
44
definitionId: a7bcc9d8-13b3-4e49-b80d-d020b90045e3
5-
dockerImageTag: 0.3.0
5+
dockerImageTag: 0.3.1
66
dockerRepository: airbyte/destination-dev-null
77
githubIssueLabel: destination-dev-null
88
icon: airbyte.svg

airbyte-integrations/connectors/destination-dev-null/src/test-integration/java/io/airbyte/integrations/destination/dev_null/DevNullDestinationAcceptanceTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,9 @@ protected void assertSameMessages(final List<AirbyteMessage> expected,
5858
assertEquals(0, actual.size());
5959
}
6060

61+
@Override
62+
public void testSyncNotFailsWithNewFields() {
63+
// Skip because `retrieveRecords` returns an empty list at all times.
64+
}
65+
6166
}

airbyte-integrations/connectors/destination-e2e-test/build.gradle

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11
plugins {
2-
id 'application'
32
id 'airbyte-java-connector'
43
}
54

65
airbyteJavaConnector {
7-
cdkVersionRequired = '0.2.0'
6+
cdkVersionRequired = '0.20.6'
87
features = ['db-destinations']
98
useLocalCdk = false
109
}
1110

12-
//remove once upgrading the CDK version to 0.4.x or later
13-
java {
14-
compileJava {
15-
options.compilerArgs.remove("-Werror")
16-
}
17-
}
18-
19-
airbyteJavaConnector.addCdkDependencies()
20-
2111
application {
2212
mainClass = 'io.airbyte.integrations.destination.e2e_test.TestingDestinations'
13+
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
2314
}
2415

2516
dependencies {

airbyte-integrations/connectors/destination-e2e-test/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ data:
22
connectorSubtype: unknown
33
connectorType: destination
44
definitionId: 2eb65e87-983a-4fd7-b3e3-9d9dc6eb8537
5-
dockerImageTag: 0.3.0
5+
dockerImageTag: 0.3.1
66
dockerRepository: airbyte/destination-e2e-test
77
githubIssueLabel: destination-e2e-test
88
icon: airbyte.svg

airbyte-integrations/connectors/destination-e2e-test/src/test-integration/java/io/airbyte/integrations/destination/e2e_test/TestingSilentDestinationAcceptanceTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,9 @@ protected void assertSameMessages(final List<AirbyteMessage> expected,
5959
assertEquals(0, actual.size());
6060
}
6161

62+
@Override
63+
public void testSyncNotFailsWithNewFields() {
64+
// Skip because `retrieveRecords` returns an empty list at all times.
65+
}
66+
6267
}

docs/integrations/destinations/e2e-test.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ The OSS and Cloud variants have the same version number starting from version `0
4646

4747
| Version | Date | Pull Request | Subject |
4848
|:--------|:-----------| :------------------------------------------------------- |:----------------------------------------------------------|
49+
| 0.3.1 | 2024-02-14 | [35278](https://github.com/airbytehq/airbyte/pull/35278) | Adopt CDK 0.20.6 |
4950
| 0.3.0 | 2023-05-08 | [25776](https://github.com/airbytehq/airbyte/pull/25776) | Standardize spec and change property field to non-keyword |
5051
| 0.2.4 | 2022-06-17 | [13864](https://github.com/airbytehq/airbyte/pull/13864) | Updated stacktrace format for any trace message errors |
5152
| 0.2.3 | 2022-02-14 | [10256](https://github.com/airbytehq/airbyte/pull/10256) | Add `-XX:+ExitOnOutOfMemoryError` JVM option |

0 commit comments

Comments
 (0)