You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/expectation/onallevent/ExpectationIT.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,13 @@
30
30
31
31
@Sample(
32
32
tldr = "Basic Expectation Pattern with AllEvents Trigger",
33
-
description = """
33
+
description =
34
+
"""
34
35
Demonstrates the basic expectation pattern using ExpectationManager with triggerReconcilerOnAllEvents = true.
35
36
This pattern allows reconcilers to wait for specific conditions to be met (like a Deployment having 3 ready replicas)
36
37
before proceeding with status updates. The test shows both successful expectation fulfillment and timeout handling.
37
-
Requires @ControllerConfiguration(triggerReconcilerOnAllEvents = true) for proper operation.""")
38
+
Requires @ControllerConfiguration(triggerReconcilerOnAllEvents = true) for proper operation.\
Copy file name to clipboardExpand all lines: operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/expectation/periodicclean/PeriodicCleanerExpectationIT.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,13 @@
30
30
31
31
@Sample(
32
32
tldr = "Expectation Pattern with Periodic Cleanup",
33
-
description = """
33
+
description =
34
+
"""
34
35
Demonstrates the PeriodicCleanerExpectationManager pattern which provides automatic cleanup of stale expectations.
35
36
This pattern works without requiring @ControllerConfiguration(triggerReconcilerOnAllEvents = true) and automatically
36
37
cleans up stale expectations periodically (default: 1 minute). This is ideal for 'set and forget' scenarios where
37
-
you want the same expectation API and functionality as the regular ExpectationManager but with automatic lifecycle management.""")
38
+
you want the same expectation API and functionality as the regular ExpectationManager but with automatic lifecycle management.\
0 commit comments