Skip to content

Test and verify pause resume feature works correctly #248

@tomergee

Description

@tomergee

The feature #82 which implements the following technical scenario of a sandbox needs to be tested:

When replicas==0, the controller will delete the pod associated with the sandbox, while preserving the PVC and service.
When replicas==1 or not specified, the controller will create the pod if it does not exist.

There is a need to test the feature works and restores a running container correctly, please create and run a test as following:

  1. Create a vscode sandbox with replicas: 1 and a pvc
  2. Generate code inside the vscode sandbox - "Generate a tic-tac-toe game in python" - and pause
  3. Set replicas==0, verify the pod is deleted, sandbox CR still exists, pvc still exists
  4. Set replicas==1, verify the sandbox pod starts with the existing pvc
  5. Verify the sandbox pod containing the vscode loads and is able to continue running the generated "tic-tac-toe game in python"

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