* [SEARCH-2400] restored shared.properties as in 1.4.3 (cherry picked from commit 45fd7b6c83b7f96925a163853ee22cc09c52ba44) * [SEARCH-2400] changed music model (cherry picked from commit f7bbac444de7c2a7ea9bf18e72ea1b43153344c0) * [SEARCH-2400] removed conf directory from solrhome in distributed tests (cherry picked from commit 52c94cef08d1d5646b37074ba42b1ab6ee2ab1c7) * [SEARCH-2400] use different shared.properties for integration tests (cherry picked from commit 61dd7a5df731b2a4e88f6302d89b738b35c6f5f4) * [SEARCH-2400] restored music model (cherry picked from commit b5894e6ddb5a9acbf7a0dd8e4d6c8f0014ed5d69) * [SEARCh-2400] restored test to be the same as in 1.4.3 branch (cherry picked from commit d5c6ced530b4edaae00a8edbde55b9fdffcc6839) * [SEARCH-2400] activate cross-locale field for all the non-tokenized properties (cherry picked from commit e04d486f623407dc3c763f637d3bdd90937364c2) * [SEARCH-2400] fixed test on dynamic fields (cherry picked from commit b336d8ff02f7b7e29202160ef1b8081a37d86c53) * [SEARCH-2400] fixed test shared.properties on insightEngine (cherry picked from commit 5a0738eed5ec1684d2100a15992294963e50431c) * [SEARCH-2400] removed check for property with no cross-locale fields in highlighter (cherry picked from commit a05149503e30556e299e63122acbb5e43dc62ff6)
Setup
The automated test project requires a running instance of ACS Repo and Search Services at the least. To run Insight Engine tests, minimum version of Repo is ACS 6.0, additionally running instance of Insight Engine would be necessary too. For more details about the related projects or their deployment see: [Search-Discovery] (https://git.alfresco.com/search_discovery) and (https://github.com/Alfresco/SearchServices).
Prerequisites
Java 11
Maven 3.2.0
Alfresco Content Services 5.2.2 or above
Search Services 1.2.0 or above or Insight Engine 1.0.0 or above
Bring the Test Environment up
-
ACS + Search Services Healthcheck: Please ensure that repo admin console > Search Services uses the right port and shows tracking status.
-
Solr Healthcheck can be performed using solr admin console at:
<protocol>://<repo-host-ip>:<solr-port>/solr/#
e.g. http://localhost:8983/solr/#
Compile the project
mvn clean install -DskipTests
Run the tests
mvn clean install
Run a specific class of tests
mvn clean install -Dtest=<class>
e.g.
mvn clean install -Dtest=CustomModelTest