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

Mock container execution to test failure modes #1

Open
3 tasks
cunha opened this issue May 21, 2023 · 0 comments
Open
3 tasks

Mock container execution to test failure modes #1

cunha opened this issue May 21, 2023 · 0 comments
Assignees
Labels
scout ScoutSuite

Comments

@cunha
Copy link
Member

cunha commented May 21, 2023

We need to mock the execution of the Scout container to test failure modes. Test cases to generate:

  • Create $M$ containers that exit successfully after $N$ seconds ($M \approx 5$ and $N \approx 30$). Check that the polling thread handles completion and that containers are cleaned up.
  • Create $M$ containers that never exit ($M \approx 5$), call shutdown after 30 seconds. Check that shutdown kills and removes containers.
  • Create $M$ containers that terminate with an error after $N$ seconds ($M \approx 5$ and $N \approx 30$). Check that the polling thread handles errors correctly and that containers are cleaned up.
@cunha cunha changed the title Mock container execution to test failures Mock container execution to test failure modes May 21, 2023
@cunha cunha added the scout ScoutSuite label May 21, 2023
@cunha cunha assigned cunha and Sacramento-20 and unassigned cunha May 26, 2023
cunha pushed a commit that referenced this issue Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scout ScoutSuite
Projects
None yet
Development

No branches or pull requests

2 participants