Skip to content

Commit ec96713

Browse files
committed
test fix
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 67ecebd commit ec96713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/informer/TemporaryPrimaryResourceCacheTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ void putAfterEventWithEventFilteringNoPost() {
274274
ResourceAction.UPDATED, nextResource, testResource);
275275
// the result is deferred
276276
assertThat(result).isEqualTo(EventHandling.DEFER);
277-
temporaryResourceCache.putResource(testResource);
277+
temporaryResourceCache.putResource(nextResource);
278278
var postEvent = temporaryResourceCache.doneEventFilterModify(resourceId, "3");
279279

280280
// there is no post event because the done call claimed responsibility for rv 3

0 commit comments

Comments
 (0)