Merge pull request elastic/elasticsearch#1050 from rjernst/extra_config_file_delay

Build: Remove hack to touch keystore before it is created

Original commit: elastic/x-pack-elasticsearch@aa2a950129
This commit is contained in:
Ryan Ernst 2015-11-29 10:19:42 -08:00
commit 7277d280ca

View File

@ -13,11 +13,6 @@ File cert = new File(project.buildDir, 'cert/test-node.csr')
File signedCert = new File(project.buildDir, 'cert/test-node-signed.csr')
File keystore = new File(project.buildDir, 'keystore/test-node.jks')
// we touch keystore because otherwise it fails, extraConfigFile does not exist
// this tricks some broken compile-time check into just moving along: we nuke this stuff before we actually generate
keystore.parentFile.mkdirs()
keystore.createNewFile()
String caConfigData = """
[ ca ]
default_ca = CA_default
@ -187,4 +182,4 @@ integTest {
return true
}
}
}
}