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:
parent
67928a57cb
commit
be60f68367
|
@ -5,6 +5,7 @@
|
||||||
*/
|
*/
|
||||||
package org.elasticsearch.shield.transport.netty;
|
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.ClientBootstrap;
|
||||||
import org.elasticsearch.common.netty.bootstrap.ServerBootstrap;
|
import org.elasticsearch.common.netty.bootstrap.ServerBootstrap;
|
||||||
import org.elasticsearch.common.netty.buffer.ChannelBuffer;
|
import org.elasticsearch.common.netty.buffer.ChannelBuffer;
|
||||||
|
@ -122,6 +123,7 @@ public class HandshakeWaitingHandlerTests extends ElasticsearchTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@AwaitsFix(bugUrl = "https://github.com/elasticsearch/elasticsearch-shield/issues/533")
|
||||||
public void testWriteBeforeHandshakePassesWithHandshakeWaitingHandler() throws Exception {
|
public void testWriteBeforeHandshakePassesWithHandshakeWaitingHandler() throws Exception {
|
||||||
clientBootstrap.setPipelineFactory(new ChannelPipelineFactory() {
|
clientBootstrap.setPipelineFactory(new ChannelPipelineFactory() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue