Affects Version/s: 7.0.X, 7.1.X, 7.2.X, 7.3.X, Master
Component/s: Search Infrastructure
Attached is an error that FacetedSearcherTest can produce. Because the search prefix is a random string it can find other documents in search. In this particular flake, it's finding the Hello World welcome page and fails when checking if all results are users.
To test I had to modify the test.
Steps to Reproduce:
- Modify the testSearchByKeywordsIgnoresInactiveSites test by setting prefix = "WiQp7C5C"
- Log on to the portal and make sure the 7.4 welcome page is present, if it isn't add the Hello World widget to a content page.
- Run the FacetedSearcherTest.testSearchByKeywordsIgnoresInactiveSites integration test.
Expected Result: Test passes.
Actual Result: Test fails because the search returns the Hello World welcome page along with Users.