Description
Saw a test failure of ShellServerIT.addauths against 1.7.0 with the minicluster running with Kerberos in which the getauths command didn't contain the expected authorizations which were just added.
The server-side getauths implementation returns the authorization for a user from ZooCache which means the client may not get a consistent view of the value. The test tries to work around this, retrying when an incorrect value is noticed after sleeping for a short time.
The problem is that the catch block catches Exception while the test code throws AssertionError which isn't an Exception (but an Error). As such, the retry logic fails and the test will fail if the server doesn't see the cache update soon enough.