Skip to content

Commit

Permalink
Fix OpenShift resource URI caching - clear cache on service stop
Browse files Browse the repository at this point in the history
Prevents the cached value from distorting status checks on stopped
resources.

This fixes `infinispan-client` failures observed in e.g.
quarkus-qe/quarkus-test-suite#975.

This is a follow-up to
quarkus-qe#625,
which introduced the caching in order to fix issues in INTEROP
environment. See e.g.
https://mpts-prod.psi.redhat.com/dashboard/run/?id=8896.
  • Loading branch information
jsmrcka committed Jan 19, 2023
1 parent 893336f commit f59e642
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public void stop() {
}

client.scaleTo(model.getContext().getOwner(), 0);
uri = null;
running = false;
}

Expand Down

0 comments on commit f59e642

Please sign in to comment.