Skip to content

Enhance the workspace integration tests TestUploadDownloadBlob and TestUploadDownloadBlobViaServer #9953

Closed
@jenting

Description

@jenting

Bug description

Enhance the workspace integration tests TestUploadDownloadBlob and TestUploadDownloadBlobViaServer to make it available to run in locally, without necessary to build a container image and run a Pod within the Kubernetes cluster. If we run these two locally, it'd failed at DNS lookup the MinIO server minio.default.svc.cluster.local:9000 since there is no MinIO server locally. We should be able to port-forward MinIO port 9000 locally and change the integration test to DNS lookup the localhost:9000.__

Steps to reproduce

  1. Create preview environment and kubectx to preview environment
  2. Run the integration test
cd test
go test -v ./... \
  -run TestUploadDownloadBlob \
  -kubeconfig /home/gitpod/.config/kube \
  -namespace default
go test -v ./... \
  -run TestUploadDownloadBlobViaServer \
  -kubeconfig /home/gitpod/.config/kube \
  -namespace default

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