You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following integration tests need a username in DB first, however, the integration test should be able to mock the username into the DB rather than have a real username in DB.
TestGitHubContexts
TestWorkspaceInstrumentation
TestGitActions
Steps to reproduce
$ go test -v ./... \
-kubeconfig=/home/gitpod/.kube/config \
-namespace=<namespace>
The above tests are skipped because of missing the username. The error message would be
cannot start server: "cannot access Gitpod server API: \"no suitable user found: make sure there's at least one non-builtin user in the database (e.g. login)\""
Even if we provide the username to it, the integration tests could be failed because the username doesn't in the DB.
$ go test -v ./... \
-kubeconfig=/home/gitpod/.kube/config \
-namespace=<namespace>
-username=integration-test
jenting
changed the title
Fix broken integration test TestGitActions
Fix the integration tests that needs username
May 1, 2022
jenting
changed the title
Fix the integration tests that needs username
Fix the integration tests that needs username in DB first
May 1, 2022
jenting
changed the title
Fix the integration tests that needs username in DB first
Fix the integration tests that need username in DB first
May 1, 2022
jenting
changed the title
Fix the integration tests that need username in DB first
Fix the workspace integration tests that need username in DB first
May 1, 2022
jenting
changed the title
Fix the workspace integration tests that need username in DB first
Fix the workspace integration tests that need a username in DB first
May 1, 2022
Bug description
The following integration tests need a username in DB first, however, the integration test should be able to mock the username into the DB rather than have a real username in DB.
Steps to reproduce
The above tests are skipped because of missing the username. The error message would be
cannot start server: "cannot access Gitpod server API: \"no suitable user found: make sure there's at least one non-builtin user in the database (e.g. login)\""
Even if we provide the username to it, the integration tests could be failed because the username doesn't in the DB.
Ref werft job
Workspace affected
No response
Expected behavior
No response
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: