-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #2337 : Ensure we break out of reconnect loop when the entity does not exist #2338
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny comments but seems all good
@@ -181,6 +191,14 @@ public void testDestroyCacheWithCacheManagerStopped() throws CachePersistenceExc | |||
assertThat(persistentCacheManager.getStatus(), is(Status.UNINITIALIZED)); | |||
} | |||
|
|||
@Test | |||
public void testDestroyNonExistentCacheWIthCacheManagerStopped() throws CachePersistenceException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'I' should be lowercase
reconnect(); | ||
retrieveEntity(); | ||
connectionRecoveryListener.run(); | ||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be a break
. To look like the rest of the code
connectionRecoveryListener.run(); | ||
return; | ||
} catch (ConnectionClosedException | ConnectionShutdownException e) { | ||
LOGGER.info("Disconnected to the server", e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from the server?
d2f4179
to
b633de6
Compare
…ity does not exist
No description provided.