File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@
7272
<artifactId>jackson-dataformat-yaml</artifactId>
7373
<version>2.13.1</version>
7474
</dependency>
75+
<dependency>
76+
<groupId>io.javaoperatorsdk</groupId>
77+
<artifactId>operator-framework-junit-5</artifactId>
78+
<version>${project.version}</version>
79+
<scope>test</scope>
80+
</dependency>
7581
</dependencies>
7682

7783
<build>
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ boolean isLocal() {
6565
@RegisterExtension
6666
AbstractOperatorExtension operator = isLocal() ? OperatorExtension.builder()
6767
.withConfigurationService(DefaultConfigurationService.instance())
68-
.withReconciler(new MySQLSchemaReconciler(client,
69-
new MySQLDbConfig("127.0.0.1", "3306", "root", "password")))
68+
.withReconciler(
69+
new MySQLSchemaReconciler(new MySQLDbConfig("127.0.0.1", "3306", "root", "password")))
7070
.withInfrastructure(infrastructure)
7171
.build()
7272
: E2EOperatorExtension.builder()
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@
5757
<version>4.1.1</version>
5858
<scope>test</scope>
5959
</dependency>
60+
<dependency>
61+
<groupId>io.javaoperatorsdk</groupId>
62+
<artifactId>operator-framework-junit-5</artifactId>
63+
<version>${project.version}</version>
64+
<scope>test</scope>
65+
</dependency>
6066
</dependencies>
6167

6268
<build>
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ boolean isLocal() {
4444
AbstractOperatorExtension operator = isLocal() ? OperatorExtension.builder()
4545
.waitForNamespaceDeletion(false)
4646
.withConfigurationService(DefaultConfigurationService.instance())
47-
.withReconciler(new TomcatReconciler(client))
47+
.withReconciler(new TomcatReconciler())
4848
.withReconciler(new WebappReconciler(client))
4949
.build()
5050
: E2EOperatorExtension.builder()

0 commit comments

Comments
 (0)