Skip to content

Commit

Permalink
Ensure retry if EvictionByEvictionAPI is found on termination reaso…
Browse files Browse the repository at this point in the history
…ns (#1582)

Co-authored-by: Valentin Delaye <[email protected]>
  • Loading branch information
jonesbusy and Valentin Delaye authored Jun 28, 2024
1 parent b90136f commit 93f47a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public boolean test(@NonNull Throwable t, @CheckForNull StepContext context)
}
Set<String> terminationReasons =
ExtensionList.lookupSingleton(Reaper.class).terminationReasons(node);
if (terminationReasons.stream().anyMatch(IGNORED_CONTAINER_TERMINATION_REASONS::contains)) {
if (terminationReasons.stream().allMatch(IGNORED_CONTAINER_TERMINATION_REASONS::contains)) {
listener.getLogger()
.println("Ignored termination reason(s) for " + node + " for purposes of retry: "
+ terminationReasons);
Expand Down

0 comments on commit 93f47a8

Please sign in to comment.