-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Bug description
I was trying to write a test for my changes to components/gitpod-db/src/typeorm/workspace-db-impl.ts in #4111. The specific method I'm modifying doesn't have any existing tests and when I added one it appeared to be failing for reasons unrelated to my code changes. I verified by creating a fresh branch off main to reproduce the problem (see draft PR here description for more details)
Steps to reproduce
To reproduce
- Open a workspace from my draft PR that reproduces the issue: https://gitpod.io/#https://github.com/gitpod-io/gitpod/pull/4120
- In one terminal
kubectl port-forward statefulset/mysql 23306:3306 - In another terminal
cd components/gitpod-dbandyarn db-test
Expected behavior
I would have expected my new test to pass, or at least fail on the assertion rather than having an underlying exception being thrown
Example repository
No response
Anything else?
No response