Skip to content

AMBARI-25596: Multiple Ambari Unit Tests failing due to Address already in use#3268

Closed
surnaik wants to merge 2 commits intoapache:trunkfrom
surnaik:patch-1
Closed

AMBARI-25596: Multiple Ambari Unit Tests failing due to Address already in use#3268
surnaik wants to merge 2 commits intoapache:trunkfrom
surnaik:patch-1

Conversation

@surnaik
Copy link
Copy Markdown

@surnaik surnaik commented Nov 30, 2020

Issue:

BootstrapResourceTest uses JerseyTest which throws address already in use when the default port is not available

Fix:
Replaced it with the RandomPortJerseyTest

Test:
Ran the test successfully locally

@surnaik
Copy link
Copy Markdown
Author

surnaik commented Nov 30, 2020

The tests indicate that it is not finding ambari.properties file under the /tmp/ambari-test directory. This has nothing to do with my change. I don't know whether the properties file gets copied to /tmp/ambari-test directory during the runtime of the test or it is supposed to be already present.

@surnaik
Copy link
Copy Markdown
Author

surnaik commented Jan 10, 2021

@Akhilsnaik could you please review?

@surnaik surnaik closed this Jan 31, 2021
@surnaik surnaik deleted the patch-1 branch January 31, 2021 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant