[SERVER-83992] timeseries_union_with.js needs to be more debuggable Created: 07/Dec/23  Updated: 26/Dec/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Irina Yatsenko (Inactive) Assignee: Backlog - Query Integration
Resolution: Unresolved Votes: 0
Labels: qi-tech-debt, qi-testing, qi-timeseries, quick-tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Integration
Participants:

 Description   

The test has multiple issues that make it hard to investigate the failures (e.g. see BF-30780):

  • it runs multiple tests in a loop without logging the context for each iteration so it's not clear which iteration is failing
  • it uses randomized dynamically generated datasets for its inputs without logging them (the purpose of randomizing the datasets isn't clear)
  • it uses more complex pipeline than just $unionWith to enable validation on the dynamically created dataset

At the minimum the test should be updated to log the inputs/context, but I'd recommend rewriting it to simplify and to make the intent more explicit. Doing so might also allow to remove some of the tags.


Generated at Thu Feb 08 06:53:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.