Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky render of spans table tests #2263

Merged
merged 6 commits into from
Nov 27, 2024

Conversation

ps48
Copy link
Member

@ps48 ps48 commented Nov 26, 2024

Description

Fix flaky load of spans table. The CI was acting flaky for load spans table component in the service. The issue was there an incorrect DSL query being sent out to OS to load spans before the DSL state gets updated. The led to the table showing either of the two responses from incorrect DSL with not filters or the correct DSL the time and service filter.

Issues Resolved

#1886

Example of CI being flaky: https://github.com/opensearch-project/dashboards-observability/actions/runs/11902220162/job/33170003645

   Testing traces Spans table and verify columns functionality
    1) Renders the spans table and click on first span to verify details
    ✓ Render Spans table and verify Column functionality (12352ms)

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Shenoy Pratik <[email protected]>
ps48 added 5 commits November 26, 2024 10:18
Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
@ps48 ps48 changed the title Fix flaky load of spans table Fix render load of spans table tests Nov 27, 2024
@ps48 ps48 changed the title Fix render load of spans table tests Fix flaky render of spans table tests Nov 27, 2024
@ps48 ps48 merged commit a1dfaea into opensearch-project:main Nov 27, 2024
15 of 20 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 27, 2024
* Fix flaky load of spans table

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshots

Signed-off-by: Shenoy Pratik <[email protected]>

* update service dep table title

Signed-off-by: Shenoy Pratik <[email protected]>

* update the data subj to table instead of title

Signed-off-by: Shenoy Pratik <[email protected]>

* wait for service deps to load

Signed-off-by: Shenoy Pratik <[email protected]>

* update density test

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>
(cherry picked from commit a1dfaea)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
paulstn pushed a commit that referenced this pull request Nov 27, 2024
* Fix flaky load of spans table



* update snapshots



* update service dep table title



* update the data subj to table instead of title



* wait for service deps to load



* update density test



---------


(cherry picked from commit a1dfaea)

Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

3 participants