Skip to content

Commit f554429

Browse files
committed
wip
1 parent f113bed commit f554429

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/expectation/onallevent/ExpectationIT.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@
3030

3131
@Sample(
3232
tldr = "Basic Expectation Pattern with AllEvents Trigger",
33-
description = """
33+
description =
34+
"""
3435
Demonstrates the basic expectation pattern using ExpectationManager with triggerReconcilerOnAllEvents = true.
3536
This pattern allows reconcilers to wait for specific conditions to be met (like a Deployment having 3 ready replicas)
3637
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.\
39+
""")
3840
class ExpectationIT {
3941

4042
public static final String TEST_1 = "test1";

operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/expectation/periodicclean/PeriodicCleanerExpectationIT.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@
3030

3131
@Sample(
3232
tldr = "Expectation Pattern with Periodic Cleanup",
33-
description = """
33+
description =
34+
"""
3435
Demonstrates the PeriodicCleanerExpectationManager pattern which provides automatic cleanup of stale expectations.
3536
This pattern works without requiring @ControllerConfiguration(triggerReconcilerOnAllEvents = true) and automatically
3637
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.\
39+
""")
3840
class PeriodicCleanerExpectationIT {
3941

4042
public static final String TEST_1 = "test1";

0 commit comments

Comments
 (0)