Closed
Description
Is your feature request related to a problem? Please describe
Manually go thru. the PVC test plans take about half a day, and it's too long for each release to manually test against all the PVC test plans.
Describe the behaviour you'd like
Trying to add more integration tests from the PVC test plans if possible, and make the manual PVC tests as small as possible.
Therefore, we could minimize the deployer only need to test the manually PVC test plans.
Describe alternatives you've considered
None
Definition of Done (DoD)
- Update existing tests with PVC feature flag
- TestBackup PVC integration tests: TestBackup and TestRegularWorkspaceTasks and TestWorkspaceEnableAndDisablePVC #12620
- TestRegularWorkspaceTasks PVC integration tests: TestBackup and TestRegularWorkspaceTasks and TestWorkspaceEnableAndDisablePVC #12620
- TestGitHubContexts PVC integration tests: TestGitHubContexts and TestGitActions and TestGitLFSSupport #12650
- TestGitActions PVC integration tests: TestGitHubContexts and TestGitActions and TestGitLFSSupport #12650
- TestGitLFSSupport PVC integration tests: TestGitHubContexts and TestGitActions and TestGitLFSSupport #12650
- Add new tests
- PVC test plans regular workspace case 2 Existing workspace and enable PVC (Disable PVC ❌ → Enable PVC ✅) PVC integration tests: TestBackup and TestRegularWorkspaceTasks and TestWorkspaceEnableAndDisablePVC #12620
- PVC test plans regular workspace case 3 Fresh new workspace and enable PVC, then disable PVC (Enable PVC ✅ → Disable PVC ❌ ) PVC integration tests: TestBackup and TestRegularWorkspaceTasks and TestWorkspaceEnableAndDisablePVC #12620
Additional context
@jenting I briefly looked at the below tests, and removed them from scope for now. Can you review, and let me know your thoughts? They seem unnecessary, but, let me know what you think? 🙏
- Other regular workspace tests, not necessarily needed for PVC
- TestWorkspaceInstrumentation (creates a user via server API, starts a workspace from gitpod repo, transfers or uses an agent to the workspace pod, sets up a port forward, and asserts it can connect to the agent via RPC...it is unclear how this relates to PVC)?
- TestLaunchWorkspaceDirectly (this is exercised in most of the tests starting a workspace already)