Test: Add AwaitsFix to failing HandshakeWaitingHandler test

testWriteBeforeHandshakePassesWithHandshakeWaitingHandler is failing continually
on Windows.

See elastic/elasticsearch#533

Original commit: elastic/x-pack-elasticsearch@0d81cb99cd
This commit is contained in:
jaymode 2015-01-13 15:03:26 -05:00
parent 67928a57cb
commit be60f68367
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
*/
package org.elasticsearch.shield.transport.netty;
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
import org.elasticsearch.common.netty.bootstrap.ClientBootstrap;
import org.elasticsearch.common.netty.bootstrap.ServerBootstrap;
import org.elasticsearch.common.netty.buffer.ChannelBuffer;
@ -122,6 +123,7 @@ public class HandshakeWaitingHandlerTests extends ElasticsearchTestCase {
}
@Test
@AwaitsFix(bugUrl = "https://github.com/elasticsearch/elasticsearch-shield/issues/533")
public void testWriteBeforeHandshakePassesWithHandshakeWaitingHandler() throws Exception {
clientBootstrap.setPipelineFactory(new ChannelPipelineFactory() {