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

swtbot: Make FetchRemoteTracesTest more robust #11

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

bhufmann
Copy link
Contributor

@bhufmann bhufmann commented Feb 9, 2024

  • Use SWTBotUtils for selecting the Traces folder
    This utility is used in many other tests and it is more robust. It omits the suffix that indicates the number of traces in project.
  • Make cancel test more robust:
    The import dialog might close too fast and then the cancel button is not available anymore. This happens sometimes in CI. To make the test more robust detect that case and continue the test execution.

This should fix intermittent failures happening in CI.

Signed-off-by: Bernd Hufmann [email protected]

@bhufmann bhufmann requested a review from PatrickTasse February 9, 2024 18:39
This utility is used in many other tests and it is more robust. It
omits the suffix that indicates the number of traces in project.

This should fix intermittent failures happening in CI.

Signed-off-by: Bernd Hufmann <[email protected]>
The import dialog might close too fast and then the cancel button is
not available anymore. This happens sometimes in CI. To make the
test more robust detect that case and continue the test execution.

Signed-off-by: Bernd Hufmann <[email protected]>
@bhufmann bhufmann changed the title swtbot: Use SWTBotUtils for selecting the Traces folder swtbot: Make FetchRemoteTracesTest more robust Feb 9, 2024
@bhufmann bhufmann merged commit 3e292d3 into eclipse-tracecompass:master Feb 9, 2024
4 checks passed
@bhufmann bhufmann deleted the fix-swtbot-test2 branch February 9, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants