Skip to content

Commit 26fab14

Browse files
committed
progress
1 parent c873db4 commit 26fab14

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

operator-framework/src/test/java/com/github/containersolutions/operator/ControllerExecutionIT.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
import static com.github.containersolutions.operator.IntegrationTestSupport.TEST_NAMESPACE;
1717
import static org.assertj.core.api.Assertions.assertThat;
18+
import static org.assertj.core.api.Assertions.fail;
1819
import static org.awaitility.Awaitility.await;
1920

2021
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
@@ -64,4 +65,10 @@ public void configMapGetsCreatedForTestCustomResource() throws Exception {
6465
});
6566
});
6667
}
68+
69+
@Test
70+
public void eventIsSkippedIfNoGenerationChangedOnMetadataOnlyUpdate() {
71+
fail("TODO");
72+
}
73+
6774
}

operator-framework/src/test/resources/com/github/containersolutions/operator/test-crd.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,25 @@ spec:
1111
singular: customservice
1212
kind: CustomService
1313
shortNames:
14-
- cs
14+
- cs
15+
16+
17+
#apiVersion: apiextensions.k8s.io/v1
18+
#kind: CustomResourceDefinition
19+
#metadata:
20+
# name: customservices.sample.javaoperatorsdk
21+
#spec:
22+
# group: sample.javaoperatorsdk
23+
# versions:
24+
# - name: v1
25+
# served: true
26+
# storage: true
27+
# subresources:
28+
# status: {}
29+
# scope: Namespaced
30+
# names:
31+
# plural: customservices
32+
# singular: customservice
33+
# kind: CustomService
34+
# shortNames:
35+
# - cs

0 commit comments

Comments
 (0)