elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.19k stars 24.85k forks source link

java packaging tests #32143

Closed andyb-elastic closed 3 years ago

andyb-elastic commented 6 years ago

This issue is following the work from https://github.com/elastic/elasticsearch/issues/26741 and tracks what tests from the old bats project need to be ported to the new java project, as well as what new test coverage needs to be added

See here for info about how the java tests are structured (this may be a little out of date as some things have changed)

See here for instructions about how to run these tests, particularly this section about iterating more quickly which will save you a lot of time developing these tests

porting bats tests

Bats migration has been spun off into a separate issue: https://github.com/elastic/elasticsearch/issues/46005

executable coverage

We currently don't have coverage for all executables that ship with the distributions. Note that the ones marked checked may only have coverage in a bats test that has not yet been ported

oss executables

windows-specific executables

default executables

Other major things to do

elasticmachine commented 6 years ago

Pinging @elastic/es-core-infra

andyb-elastic commented 5 years ago

@rjernst I think we can check off "Test installing elasticsearch as a service on Windows" right, does https://github.com/elastic/elasticsearch/pull/33729 cover all of that

rjernst commented 5 years ago

Yes, #33729 covered basic windows service tests.

jaymode commented 5 years ago

@elastic/es-security there are security executables listed above that do not have test coverage in our packaging tests, so I'd like to ask for your help in adding coverage for these tests.

mark-vieira commented 3 years ago

Existing BATS tests have all been migrated.