Skip to content

Commit 3a1960e

Browse files
committed
fix test
1 parent fb7043a commit 3a1960e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/ReconciliationDispatcherTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ void conditionalUpdateSpecChangedNoStatus() {
673673

674674
reconciler.reconcile = (r, c) -> {
675675
// in this test the cloning is turned off for easier verification, but required here
676-
r = ConfigurationService.DEFAULT_CLONER.clone(r);
676+
r = new BaseConfigurationService().getResourceCloner().clone(r);
677677
r.getSpec().setValue("otherValue");
678678
return UpdateControl.updateResourceAndPatchStatusIfChanged(r);
679679
};

operator-framework/src/test/java/io/javaoperatorsdk/operator/MultiVersionCRDIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import io.javaoperatorsdk.operator.sample.multiversioncrd.MultiVersionCRDTestReconciler1;
1616
import io.javaoperatorsdk.operator.sample.multiversioncrd.MultiVersionCRDTestReconciler2;
1717

18-
import static com.google.common.truth.Truth.assertThat;
18+
import static org.assertj.core.api.Assertions.assertThat;
1919
import static org.awaitility.Awaitility.await;
2020

2121
class MultiVersionCRDIT {

sample-operators/mysql-schema/src/test/java/io/javaoperatorsdk/operator/sample/MySQLSchemaOperatorE2E.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ boolean isLocal() {
8181
public MySQLSchemaOperatorE2E() throws FileNotFoundException {}
8282

8383
@Test
84-
void test() {
84+
void test() throws InterruptedException {
8585

8686
MySQLSchema testSchema = new MySQLSchema();
8787
testSchema.setMetadata(

0 commit comments

Comments
 (0)