Skip to content

Conversation

@alpar-t
Copy link
Contributor

@alpar-t alpar-t commented Jun 19, 2019

A few projects of checkPart1 were not converted. This PR closes that gap.

@alpar-t alpar-t requested a review from mark-vieira June 19, 2019 13:35
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

autoSetInitialMasterNodes = false
autoSetHostsProvider = false
testClusters.integTest {
nameCustomization = { null }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to do this in a more first-class way instead of using a null node name? The node name actually isn't relevant here. We just want to disable discovery. Perhaps we should make that a formal option on TestClusterConfiguration? We can then remove all the handling for null node names which is confusing IMO.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do also care about not configuring a node name for the test. We are also testing that we can start up without it. I taught about having a more formal way to do this, but this is the only test that would use it and it's a bit of an edge case.
Would definitely consider extending this if we were to have other users.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok. I assumed the empty node name was just an implementation detail.

@alpar-t
Copy link
Contributor Author

alpar-t commented Jun 24, 2019

@mark-vieira are you ok with this PR now ?

@mark-vieira
Copy link
Contributor

Yup 👍

@alpar-t alpar-t merged commit 05560c7 into elastic:master Jun 25, 2019
alpar-t added a commit that referenced this pull request Jun 25, 2019
* Testclusters: convert left-overs from checkPart1
@alpar-t alpar-t deleted the testclusters-checkpart1 branch June 25, 2019 19:14
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v7.3.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants