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

[Maintenance Windows] Investigate maintenance window testing approach #2164

Open
2 tasks
c-pius opened this issue Jan 7, 2025 · 1 comment
Open
2 tasks
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@c-pius
Copy link
Contributor

c-pius commented Jan 7, 2025

Description

Split out of #2101

There needs to be an e2e test that verifies the module lifecycle when downtime is required. As it appears non-trivial to setup a test environment for the time-sensitive maintenance window, it should be investigated first how this can be done in e2e tests. E.g., can we arbitrarly modify the system clock so that we can easily alternate between being within our outside a maintenance window?

See #2101 for cases that need to be covered by the test.

AC

@c-pius c-pius changed the title [Maintenance Windows] Investigate maintenance window testing [Maintenance Windows] Investigate maintenance window testing approach Jan 7, 2025
@c-pius c-pius added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 7, 2025
@c-pius
Copy link
Contributor Author

c-pius commented Jan 9, 2025

May also be an option to keep that separate and don't test the transition in a single test:

  • one test verifying that no update is done given no maintenance window
  • one test verifying that update is done given a maintenance windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant