chore(test): fix flaky telemetry tests#2815
Conversation
|
cc @cdoern |
cdoern
left a comment
There was a problem hiding this comment.
thanks! Is there explanation as to why this is the proper fix?
so the CI failed on with this error the failure is due to database can contain traces where root_span_id is NULL (when no span was marked with the LOCAL_ROOT_SPAN_MARKER), but the Trace Pydantic model expects root_span_id to be a required string field. |
e065b94 to
8caf78b
Compare
|
ci is green 🙏🏽 |
| COALESCE(t.root_span_id, | ||
| (SELECT s.span_id FROM spans s | ||
| WHERE s.trace_id = t.trace_id | ||
| AND s.parent_span_id IS NULL | ||
| ORDER BY s.start_time LIMIT 1)) as root_span_id, |
There was a problem hiding this comment.
don't think this is needed?
There was a problem hiding this comment.
Just the filter below should be enough?
There was a problem hiding this comment.
was this actually addressed?
There was a problem hiding this comment.
i have explained below in comments
8caf78b to
110746b
Compare
4b6878b to
b030143
Compare
the CI failed after removing |
no failure with |
|
Another question, this repo always request to It is big effort to keep rebasing after each PR merge :D |
|
I think requiring
it too strict, as long as no conflicts in PRs cc @leseb |
4b2d6d1 to
417e149
Compare
417e149 to
be88fee
Compare
be88fee to
b5bef8c
Compare
5bb7cc4 to
046ecca
Compare
e108df3 to
7776ffd
Compare
|
@ehhuang the ci failed again, it passes only with |
I think you removed |
05c963e to
48d0552
Compare
|
@ehhuang any other changes required ? |
ehhuang
left a comment
There was a problem hiding this comment.
Thank you for working on this!
Can you remove the @pytest.mark.skip(reason="Skipping telemetry tests for now") too?
i was thinking to add them already, but thought maybe I should wait till you request :D |
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
48d0552 to
81361ad
Compare

What does this PR do?
This PR fixes flaky telemetry tests
See #2814
Test Plan