Skip to content

Add E2E test to verify that PVC is cleaned up after DevWorkspace deletion #1468

@rohanKanojia

Description

@rohanKanojia

Description

During pre release testing, I noticed that we were testing a scenario that can be ported to E2E tests:

  • Create a Simple DevWorkspace
  • Wait for it to become running
  • Create another DevWorkspace
  • Wait for it to become running
  • Delete first workspace
  • Create a pod that mounts the common PVC
  • Once Pod is running, check for files in the common PVC
  • There should be files from the second workspace, but there should be no folder for the first workspace's DevWorkspace ID
  • Delete the second DevWorkspace
  • Verify that the common DevWorkspace PVC is removed

Acceptance Criteria

  • An E2E test is added to test abovementioned scenario

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions