[ 
https://issues.apache.org/jira/browse/DRILL-6005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arina Ielchiieva updated DRILL-6005:
------------------------------------
    Description: 
After DRILL-4286 changes some of the newly added unit tests fail with 
{noformat}
Drillbit is disallowed to bind to loopback address in distributed mode.
{noformat}

List of failed tests:
{noformat}
Tests in error: 
  TestGracefulShutdown.testOnlineEndPoints:96 » IllegalState Cluster fixture 
set...
  TestGracefulShutdown.testStateChange:130 » IllegalState Cluster fixture setup 
...
  TestGracefulShutdown.testRestApi:167 » IllegalState Cluster fixture setup 
fail...
  TestGracefulShutdown.testRestApiShutdown:207 » IllegalState Cluster fixture 
se...
{noformat}

This can be fixed if {{/etc/hosts}} file is edited.
Source - 
https://stackoverflow.com/questions/40506221/how-to-start-drillbit-locally-in-distributed-mode

Though these changes are required on production during running unit tests I 
don't think this check should be enforced.

*For documentation*
{{drill.exec.allow_loopback_address_binding}} -> Allow drillbit to bind to 
loopback address in distributed mode. Enabled only for testing purposes.

  was:
After DRILL-4286 changes some of the newly added unit tests fail with 
{noformat}
Drillbit is disallowed to bind to loopback address in distributed mode.
{noformat}

List of failed tests:
{noformat}
Tests in error: 
  TestGracefulShutdown.testOnlineEndPoints:96 » IllegalState Cluster fixture 
set...
  TestGracefulShutdown.testStateChange:130 » IllegalState Cluster fixture setup 
...
  TestGracefulShutdown.testRestApi:167 » IllegalState Cluster fixture setup 
fail...
  TestGracefulShutdown.testRestApiShutdown:207 » IllegalState Cluster fixture 
se...
{noformat}

This can be fixed if {{/etc/hosts}} file is edited.
Source - 
https://stackoverflow.com/questions/40506221/how-to-start-drillbit-locally-in-distributed-mode

Though these changes are required on production during running unit tests I 
don't think this check should be enforced.


> Fix TestGracefulShutdown tests to skip check for loopback address usage in 
> distributed mode
> -------------------------------------------------------------------------------------------
>
>                 Key: DRILL-6005
>                 URL: https://issues.apache.org/jira/browse/DRILL-6005
>             Project: Apache Drill
>          Issue Type: Improvement
>    Affects Versions: 1.12.0
>            Reporter: Arina Ielchiieva
>            Assignee: Venkata Jyothsna Donapati
>            Priority: Minor
>              Labels: doc-impacting, ready-to-commit
>             Fix For: 1.14.0
>
>
> After DRILL-4286 changes some of the newly added unit tests fail with 
> {noformat}
> Drillbit is disallowed to bind to loopback address in distributed mode.
> {noformat}
> List of failed tests:
> {noformat}
> Tests in error: 
>   TestGracefulShutdown.testOnlineEndPoints:96 » IllegalState Cluster fixture 
> set...
>   TestGracefulShutdown.testStateChange:130 » IllegalState Cluster fixture 
> setup ...
>   TestGracefulShutdown.testRestApi:167 » IllegalState Cluster fixture setup 
> fail...
>   TestGracefulShutdown.testRestApiShutdown:207 » IllegalState Cluster fixture 
> se...
> {noformat}
> This can be fixed if {{/etc/hosts}} file is edited.
> Source - 
> https://stackoverflow.com/questions/40506221/how-to-start-drillbit-locally-in-distributed-mode
> Though these changes are required on production during running unit tests I 
> don't think this check should be enforced.
> *For documentation*
> {{drill.exec.allow_loopback_address_binding}} -> Allow drillbit to bind to 
> loopback address in distributed mode. Enabled only for testing purposes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to