Skip to content

Fix termination condition in TestStressNRTReplication.#14665

Merged
dweiss merged 2 commits intoapache:mainfrom
dweiss:14664-TestStressNRTReplication-termination
May 14, 2025
Merged

Fix termination condition in TestStressNRTReplication.#14665
dweiss merged 2 commits intoapache:mainfrom
dweiss:14664-TestStressNRTReplication-termination

Conversation

@dweiss
Copy link
Contributor

@dweiss dweiss commented May 14, 2025

Cleans up the code a bit too. Fixes #14664

t.setName("start R" + idx);
t.start();
startupThreads.add(t);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the actual fix.

@github-actions
Copy link
Contributor

This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog-check label to it and you will stop receiving this reminder on future updates to the PR.

@dweiss dweiss merged commit 18b70d2 into apache:main May 14, 2025
7 checks passed
dweiss added a commit that referenced this pull request May 14, 2025
* Fix termination condition in TestStressNRTReplication. Clean up the code a bit.
* Rename sleep to pause so that superclass method is not invoked prior to static method.
@dweiss
Copy link
Contributor Author

dweiss commented May 14, 2025

Thanks, @benwtrent

weizijun added a commit to weizijun/lucene that referenced this pull request May 16, 2025
* main: (31 commits)
  Fix termination condition in TestStressNRTReplication. (apache#14665)
  deps(java): bump com.gradle.develocity from 3.19 to 3.19.2 (apache#14662)
  Build: remove hard-coded Java versions from ecj.javadocs.prefs (apache#14651)
  Update verifier comment to show label (apache#14658)
  Catch and re-throw Throwable rather than using a success boolean (apache#14633)
  Mention label in changelog verifier comment (apache#14656)
  Enable PR actions in changelog verifier (apache#14644)
  Fix FuzzySet#getEstimatedNumberUniqueValuesAllowingForCollisions to properly account for hashCount (apache#14614)
  Don't perform additional KNN querying after timeout, fixes apache#14639 (apache#14640)
  Add instructions to help/IDEs.txt for VSCode and Neovim (apache#14646)
  build(deps): bump ruff from 0.11.7 to 0.11.8 in /dev-tools/scripts (apache#14603)
  deps(java): bump de.jflex:jflex from 1.8.2 to 1.9.1 (apache#14583)
  Use the preload hint on completion fields and memory terms dictionaries. (apache#14634)
  Clean up FileTypeHint a bit. (apache#14635)
  Expressions: Improve test to use a fully private class or method
  Remove deprecations in expressions (apache#14641)
  removing constructor with deprecated attribute 'onlyLongestMatch (apache#14356)
  Moving CHANGES entry for apache#14609 from 11.0 to 10.3 (apache#14638)
  Overrides rewrite in PointRangeQuery to optimize AllDocs/NoDocs cases (apache#14609)
  Adding benchmark for histogram collector over point range query (apache#14622)
  ...

# Conflicts:
#	lucene/CHANGES.txt
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.

TestStressNRTReplication may never terminate (exceed suite timeout)

2 participants