Skip to content

Tests don't need to reference the Servlet API, mostly.#4265

Merged
dsmiley merged 4 commits into
apache:mainfrom
dsmiley:reduceServletApiScope
Apr 8, 2026
Merged

Tests don't need to reference the Servlet API, mostly.#4265
dsmiley merged 4 commits into
apache:mainfrom
dsmiley:reduceServletApiScope

Conversation

@dsmiley
Copy link
Copy Markdown
Contributor

@dsmiley dsmiley commented Apr 5, 2026

Just a refactoring.
Simplified RestTestBase; no functional change. No caller customized extraServlets or stopAtShutdown

Just a refactoring.
Simplified RestTestBase; no functional change.  No caller customized extraServlets or stopAtShutdown
setupTestInit(solrconfig, schema, false);
System.setProperty("solr.index.updatelog.enabled", "false");

createJettyAndHarness(tmpSolrHome, solrconfig, schema, "/solr", true, null);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice to see those remaining /solr dealt with.

Copy link
Copy Markdown
Contributor

@epugh epugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I've gotten very confused in all the variations in createJettyAndHarness and this looks great.

@dsmiley dsmiley merged commit ba125ac into apache:main Apr 8, 2026
6 of 7 checks passed
@dsmiley dsmiley deleted the reduceServletApiScope branch April 8, 2026 17:01
dsmiley added a commit that referenced this pull request Apr 11, 2026
And simplified RestTestBase; no functional change. No caller customized extraServlets or stopAtShutdown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants