Skip to content

Commit c0cef5f

Browse files
committed
fix: formatting
1 parent 23490d4 commit c0cef5f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/polling/PerResourcePollingEventSourceTest.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,13 @@ public void getsValueFromCacheOrSupplier() throws InterruptedException {
9797
pollingEventSource.start();
9898
pollingEventSource.onResourceCreated(testCustomResource);
9999
when(supplier.getResources(any()))
100-
.thenReturn(Optional.empty())
101-
.thenReturn(Optional.of(SampleExternalResource.testResource1()));
100+
.thenReturn(Optional.empty())
101+
.thenReturn(Optional.of(SampleExternalResource.testResource1()));
102102

103103
Thread.sleep(PERIOD / 2);
104104

105-
var value = pollingEventSource.getValueFromCacheOrSupplier(ResourceID.fromResource(testCustomResource));
105+
var value =
106+
pollingEventSource.getValueFromCacheOrSupplier(ResourceID.fromResource(testCustomResource));
106107

107108
Thread.sleep(PERIOD * 2);
108109

0 commit comments

Comments
 (0)