Add comment about older cluster states

This commit is contained in:
Jason Tedor 2016-04-05 15:56:16 -04:00
parent 7cdd647d7b
commit 3abf8177e8

View File

@ -711,6 +711,7 @@ public class PublishClusterStateActionTests extends ESTestCase {
}
largestVersionSeen = state.getVersion();
} else {
// older cluster states will be rejected
assertNotNull(channel.error.get());
assertThat(channel.error.get(), instanceOf(IllegalStateException.class));
}