Skip to content

Fix broken workspace integration test TestMissingBackup(PVC) #9990

Closed
@jenting

Description

@jenting

Bug description

Fix the broken workspace integration test TestMissingBackup of PVC test

{Name: "pvc", FF: []wsapi.WorkspaceFeatureFlag{wsapi.WorkspaceFeatureFlag_PERSISTENT_VOLUME_CLAIM}},

=== RUN   TestMissingBackup/CreateWorkspace/it_can_run_workspace_tasks/pvc_backup_init
    content_test.go:205: cannot start workspace: "rpc error: code = Internal desc = runtime error: invalid memory address or nil pointer dereference"

Steps to reproduce

Run the integration test

./dev/preview/install-k3s-kubeconfig.sh
cd test
go test -v ./... \
  -kubeconfig=/home/gitpod/.kube/config \
  -namespace=default \
  -run=TestMissingBackup

Workspace affected

No response

Expected behavior

No response

Example repository

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions