Workaround for dependency on runtime build configuration

This commit is contained in:
Mark Vieira 2020-01-22 11:29:10 -08:00
parent c5a032b594
commit 0169498711
No known key found for this signature in database
GPG Key ID: CA947EF7E6D4B105
1 changed files with 2 additions and 1 deletions

View File

@ -232,7 +232,8 @@ public class ElasticsearchNode implements TestClusterConfiguration {
@Override
public void setTestDistribution(TestDistribution testDistribution) {
requireNonNull(testDistribution, "null distribution passed when configuring test cluster `" + this + "`");
checkFrozen();
// TODO: Uncomment this workaround once we remove all the globalInfo.ready { } stuff
// checkFrozen();
this.testDistribution = testDistribution;
for (ElasticsearchDistribution distribution : distributions) {
setDistributionType(distribution, testDistribution);