jmelchio commented on a change in pull request #6755:
URL: https://github.com/apache/geode/pull/6755#discussion_r689540682
##########
File path:
geode-core/src/upgradeTest/java/org/apache/geode/security/AuthExpirationDUnitTest.java
##########
@@ -85,9 +86,10 @@ public void
clientShouldReAuthenticateWhenCredentialExpiredAndOperationSucceed()
clientVM.invoke(() -> {
ClientCache clientCache = ClusterStartupRule.getClientCache();
UpdatableUserAuthInitialize.setUser("user1");
- ClientRegionFactory clientRegionFactory =
+ assert clientCache != null;
Review comment:
The reason for the java assert is not to test something but to get rid
of a warning in the gutter. I assume that this is a valid use of java asserts?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]