# TCP Networking tests failing

**URL:** <https://discuss.elastic.co/t/tcp-networking-tests-failing/172581>\
**Category:** Elasticsearch\
**Created:** [March 15, 2019, 5:17pm UTC](https://discuss.elastic.co/t/tcp-networking-tests-failing/172581 "2019-03-15T17:17:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandmannn](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@Sandmannn](https://discuss.elastic.co/u/Sandmannn)\
**Post date:** [March 15, 2019, 5:17pm UTC](https://discuss.elastic.co/t/tcp-networking-tests-failing/172581/1 "2019-03-15T17:17:38Z")

</div>

moving the context of issue [https://github.com/elastic/elasticsearch/issues/39939](https://github.com/elastic/elasticsearch/issues/39939) here. Looks like on my machine the assumption specified in [https://github.com/elastic/elasticsearch/blob/master/test/framework/src/main/java/org/elasticsearch/transport/AbstractSimpleTransportTestCase.java#L1926-L1934](https://github.com/elastic/elasticsearch/blob/master/test/framework/src/main/java/org/elasticsearch/transport/AbstractSimpleTransportTestCase.java#L1926-L1934) does not hold, i.e. when the tcp socket backlog is full, my machine (Windows 10, Dell) upon receival of ack message is sending the syn-ack response instead of just ignoring the ack message (which is assumed by the test).

In context of this article [http://veithen.io/2014/01/01/how-tcp-backlog-works-in-linux.html](http://veithen.io/2014/01/01/how-tcp-backlog-works-in-linux.html) looks like the test assumes behavior 1, while on my machine it is behavior 2 or equivalent

Anybody having experience with this? Currently I am just uncommenting these tests before compilation, which is not really good approach. Maybe somebody knows how to adjust this behavior in java on windows 10. Otherwise we may consider adding some config to gradle to mark such tests and exclude them from `gradlew check` run (which is much less clean, but still better then uncommenting tests manually on some platforms.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 12, 2019, 5:17pm UTC](https://discuss.elastic.co/t/tcp-networking-tests-failing/172581/2 "2019-04-12T17:17:39Z")

</div>

Closed on April 12, 2019, 5:17pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
