Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance the workspace integration tests TestUploadDownloadBlob and TestUploadDownloadBlobViaServer #9953

Closed
Tracked by #8799
jenting opened this issue May 11, 2022 · 0 comments · Fixed by #10000
Closed
Tracked by #8799
Assignees
Labels
type: bug Something isn't working

Comments

@jenting
Copy link
Contributor

jenting commented May 11, 2022

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

@jenting jenting added the type: bug Something isn't working label May 11, 2022
@jenting jenting self-assigned this May 11, 2022
@princerachit princerachit assigned princerachit and unassigned jenting May 12, 2022
@princerachit princerachit moved this to In Progress in 🌌 Workspace Team May 12, 2022
@princerachit princerachit moved this from In Progress to Scheduled in 🌌 Workspace Team May 12, 2022
@princerachit princerachit moved this from Scheduled to In Progress in 🌌 Workspace Team May 13, 2022
Repository owner moved this from In Progress to Done in 🌌 Workspace Team May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants