Skip to content

Fix testTrackerClearShutdown: use non-zero startTimeMillis#142646

Merged
burqen merged 1 commit intoelastic:mainfrom
burqen:ap/2026.02.18.test-fix-SnapshotShutdownProgressTrackerTests
Feb 18, 2026
Merged

Fix testTrackerClearShutdown: use non-zero startTimeMillis#142646
burqen merged 1 commit intoelastic:mainfrom
burqen:ap/2026.02.18.test-fix-SnapshotShutdownProgressTrackerTests

Conversation

@burqen
Copy link
Copy Markdown
Contributor

@burqen burqen commented Feb 18, 2026

randomLongBetween(0, 1000) can yield 0, which triggers the assertion in IndexShardSnapshotStatus.moveToDone that startTimeMillis != 0. Use randomLongBetween(1, 1000) so the test satisfies the invariant.

…tatus

randomLongBetween(0, 1000) can yield 0, which triggers the assertion
in IndexShardSnapshotStatus.moveToDone that startTimeMillis != 0.
Use randomLongBetween(1, 1000) so the test satisfies the invariant.

Co-authored-by: Cursor <cursoragent@cursor.com>
@burqen burqen added >test Issues or PRs that are addressing/adding tests :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v9.4.0 labels Feb 18, 2026
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Feb 18, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@burqen burqen merged commit 69f8b97 into elastic:main Feb 18, 2026
35 checks passed
szybia added a commit to szybia/elasticsearch that referenced this pull request Feb 19, 2026
…on-sliced-reindex

* upstream/main: (120 commits)
  [Fleet] Add OpAMP field mappings to fleet-agents (elastic#142550)
  Clarify `expectedSize` behaviour of `ReleasableBytesStreamOutput` (elastic#142451)
  Refactor KnnIndexTester to tidy up some options (elastic#142651)
  Fixed with elastic#142638 already (elastic#142655)
  Change *OverTimeTests to extend AbstractAggregationTestCase (elastic#142659)
  Fix byteRefBlockHashSize for release mode (elastic#142668)
  Mute org.elasticsearch.xpack.esql.tree.EsqlNodeSubclassTests testTransform {class org.elasticsearch.xpack.esql.plan.logical.MMR} elastic#142674
  Fix PAUSED_FOR_NODE_REMOVAL shard blocking QUEUED promotion (elastic#142637)
  Mute org.elasticsearch.xpack.logsdb.RandomizedRollingUpgradeIT testIndexingStandardSource elastic#142670
  Revert "[ESQL] Introduce pluggable external datasource framework (elastic#141678) (elastic#142663)
  Mute org.elasticsearch.xpack.esql.spatial.SpatialPushDownGeoShapeIT testQuantizedXY elastic#141234
  PromQL: infer start/end from query DSL filters (elastic#142580)
  Add GPU vector indexing monitoring to _xpack/usage (elastic#141932)
  Fix testTrackerClearShutdown: use non-zero startTimeMillis for DONE status (elastic#142646)
  Mute org.elasticsearch.xpack.esql.qa.single_node.GenerativeIT test elastic#142426
  ESQL_ Move time_zone to GA (elastic#142287)
  Mute org.elasticsearch.xpack.esql.qa.multi_node.GenerativeIT test elastic#142426
  DOCS: Convert Painless diagrams to mermaid (elastic#141851)
  ES|QL: fix validation in generative tests (elastic#142638)
  Unmute tests that do not reproduce failures (elastic#141712)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Meta label for distributed team. >test Issues or PRs that are addressing/adding tests v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants