SOLR-6511: adjust test logic to account for timing issues in zk session expiration scenario.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628203 13f79535-47bb-0310-9956-ffa450edef68