Test: Stabilize Metadata getTrace() tests

Description

getTrace() tests sometimes fail on CI due to the trace taking longer than expected to be included in the table.

We should add some kind of "wait until" or retry mechanism at the beginning of the test to prevent unnecessary failures in the builds

Environment

None

Pull Requests

None

Assignee

Unassigned

Reporter

Jorge Bay Gondra

Reviewer

None

Fix versions

None

Labels

None

Components

None

PM Priority

None

Pull Request

None

Priority

Major
Configure