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

TTK - Implement threading model for Testcase execution #2510

Open
2 of 12 tasks
vijayg10 opened this issue Sep 23, 2021 · 0 comments
Open
2 of 12 tasks

TTK - Implement threading model for Testcase execution #2510

vijayg10 opened this issue Sep 23, 2021 · 0 comments
Assignees
Labels
oss-ttk Related to the Mojaloop testing toolkit story

Comments

@vijayg10
Copy link

vijayg10 commented Sep 23, 2021

Goal:

As a individual implementer

I want to have the Stop option in the test runner to be more responsive

so that I can stop the test case execution immediately whenever I want

Acceptance Criteria:

  • The Stop button in test runner should be more responsive. The testrun should be stopped immediately irrespective of the state of the execution.

Complexity: High

Uncertainty: Medium


Tasks:

  • Investigate different approaches to have stop option more responsive
    • We can create a worker thread for each execution and kill it whenever we want irrespective of the state of the execution
    • Tried the worker thread approach and made some progress (WIP PR included)
  • Investigate if there are better threading mechanisms also suitable for parallel testcase execution (Ex: with iteration runner)

Done

  • Acceptance Criteria pass
  • Designs are up-to date
  • Unit Tests pass
  • Integration Tests pass
  • Code Style & Coverage meets standards
  • Changes made to config (default.json) are broadcast to team and follow-up tasks added to update helm charts and other deployment config.
  • TBD

Pull Requests:

Follow-up:

  • N/A

Dependencies:

  • N/A

Accountability:

@vijayg10 vijayg10 self-assigned this Sep 23, 2021
@vijayg10 vijayg10 added oss-ttk Related to the Mojaloop testing toolkit story labels Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oss-ttk Related to the Mojaloop testing toolkit story
Projects
None yet
Development

No branches or pull requests

1 participant