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

Testing: More e2e tests for Keptn Scheduler #317

Closed
4 tasks done
Tracked by #319
RealAnna opened this issue Nov 7, 2022 · 0 comments · Fixed by #634
Closed
4 tasks done
Tracked by #319

Testing: More e2e tests for Keptn Scheduler #317

RealAnna opened this issue Nov 7, 2022 · 0 comments · Fixed by #634
Assignees
Labels
chore Maintenance
Milestone

Comments

@RealAnna
Copy link
Contributor

RealAnna commented Nov 7, 2022

Technical Details

Current scheduler test only assert the following specs:

  1. If annotated for keptn-scheduler, a new Pod should stay pending if no workload instance is available ✓
  2. If annotated for keptn-scheduler, a new Pod should be scheduled when workload instance pre-evaluation checks are done ✓
  3. If NOT annotated for keptn-scheduler, a new Pod should be immediately scheduled ✓

Acceptance Criteria

  • Add tests for points 1, 2, and 3 but using labels instead of annotations
  • If annotated for keptn-scheduler, a new Pod should not be scheduled when workload instance pre-evaluation checks fail

DoD

  • Scheduler behavior is tested also against label usage
  • Scheduler behavior is tested also against pre-eval failure
@RealAnna RealAnna changed the title Testing: More e2e test for Keptn Scheduler Testing: More e2e tests for Keptn Scheduler Nov 7, 2022
@thisthat thisthat moved this to 🎟️ Refined in Keptn Lifecycle Toolkit Nov 8, 2022
@thschue thschue added this to the 1.0.x milestone Nov 9, 2022
@thschue thschue added the chore Maintenance label Nov 11, 2022
@RealAnna RealAnna self-assigned this Jan 12, 2023
@RealAnna RealAnna moved this from 🎟️ Refined to 🏃 In progress in Keptn Lifecycle Toolkit Jan 12, 2023
@github-project-automation github-project-automation bot moved this from 🏃 In progress to ✅ Done in Keptn Lifecycle Toolkit Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants