Skip to content

Remove "crawling a web site" from test_post.bats#4430

Merged
janhoy merged 2 commits into
apache:mainfrom
janhoy:fix/test-post-extract-handler-crash
May 16, 2026
Merged

Remove "crawling a web site" from test_post.bats#4430
janhoy merged 2 commits into
apache:mainfrom
janhoy:fix/test-post-extract-handler-crash

Conversation

@janhoy
Copy link
Copy Markdown
Contributor

@janhoy janhoy commented May 15, 2026

Remove test "crawling a web site" for post tool. It was causing failures and not really that useful either now that we don't have embedded tika.

…s Solr

In Solr 10.x, ExtractingRequestHandler requires an external Tika server
configured via 'tikaserver.url'. Adding it without that parameter causes
SolrConfigHandler-refreshconf to loop continuously on every config reload,
eventually crashing the Solr server and breaking all subsequent tests that
call 'solr create' (tests 11 and 12: "stdin mode" and "verbose echo the
Solr response").

The web crawl test only asserts "Entering crawl at level 0", which is
satisfied without the extract handler. Remove the broken handler setup
and the now-stale comment noting the test was incomplete.
Comment thread solr/packaging/test/test_post.bats Outdated
@janhoy janhoy requested a review from epugh May 15, 2026 19:36
@janhoy janhoy changed the title Fix test_post.bats Remove "crawling a web site" from test_post.bats May 16, 2026
@janhoy janhoy merged commit 2cf0235 into apache:main May 16, 2026
7 checks passed
@janhoy janhoy deleted the fix/test-post-extract-handler-crash branch May 16, 2026 20:03
janhoy added a commit that referenced this pull request May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants