Skip to content

Conversation

@gibiw
Copy link
Contributor

@gibiw gibiw commented Dec 4, 2024

This pull request includes several changes to the qase-robotframework project aimed at fixing issues with Pabot and improving test execution handling. The most important changes include updating the version, modifying the Listener class to handle a new flag, and updating the changelog.

Version Update:

Changelog Update:

Listener Class Modifications:

  • qase-robotframework/src/qase/robotframework/listener.py:
    • Added a new method get_last_level_flag to retrieve the ${PABOTISLASTEXECUTIONINPOOL} variable.
    • Updated the __init__ method to initialize self.last_level_flag.
    • Modified the start_suite method to set self.last_level_flag using the new method.
    • Updated the close method to check self.last_level_flag instead of self.pabot_index for determining when to drop the run ID.

…cutions

Addressed a problem in Pabot where test runs could be duplicated or test executions might not complete properly in specific scenarios.
@gibiw gibiw merged commit 0cf35de into main Dec 4, 2024
31 checks passed
@gibiw gibiw deleted the fix/pabot branch December 4, 2024 09:02
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