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

[integration-test] Partially fix TestRegularWorkspaceTasks #9960

Merged
merged 1 commit into from
May 12, 2022

Conversation

princerachit
Copy link
Contributor

Description

Disable Supervisor test for now and fix the other part of test which failed due to incorrect value of TLSConfig.

Related Issue(s)

Partially Fixes #9575

How to test

gitpod /workspace/gitpod/test (prs/fix-partial-test) $ go test -v ./... \
>    -kubeconfig=/home/gitpod/.kube/config \
>    -namespace=default \
>    -run=TestRegularWorkspaceTasks
?       github.com/gitpod-io/gitpod/test/pkg/agent/daemon       [no test files]
?       github.com/gitpod-io/gitpod/test/pkg/agent/daemon/api   [no test files]
?       github.com/gitpod-io/gitpod/test/pkg/agent/workspace    [no test files]
?       github.com/gitpod-io/gitpod/test/pkg/agent/workspace/api        [no test files]
?       github.com/gitpod-io/gitpod/test/pkg/integration        [no test files]
?       github.com/gitpod-io/gitpod/test/pkg/integration/common [no test files]
testing: warning: no tests to run
PASS
ok      github.com/gitpod-io/gitpod/test/tests/components/content-service       3.068s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/gitpod-io/gitpod/test/tests/components/database      3.166s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/gitpod-io/gitpod/test/tests/components/image-builder 3.152s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/gitpod-io/gitpod/test/tests/components/server        3.161s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/gitpod-io/gitpod/test/tests/components/ws-daemon     3.350s [no tests to run]
=== RUN   TestRegularWorkspaceTasks
=== RUN   TestRegularWorkspaceTasks/ws-manager
=== RUN   TestRegularWorkspaceTasks/ws-manager/it_can_run_workspace_tasks
=== RUN   TestRegularWorkspaceTasks/ws-manager/it_can_run_workspace_tasks/init
    tasks_test.go:99: file in workspace: .cargo
    tasks_test.go:99: file in workspace: .gitpod
    tasks_test.go:99: file in workspace: .vscode-remote
    tasks_test.go:99: file in workspace: init-ran
=== RUN   TestRegularWorkspaceTasks/ws-manager/it_can_run_workspace_tasks/before
    tasks_test.go:99: file in workspace: .cargo
    tasks_test.go:99: file in workspace: .gitpod
    tasks_test.go:99: file in workspace: .vscode-remote
    tasks_test.go:99: file in workspace: before-ran
=== RUN   TestRegularWorkspaceTasks/ws-manager/it_can_run_workspace_tasks/command
    tasks_test.go:99: file in workspace: .cargo
    tasks_test.go:99: file in workspace: .gitpod
    tasks_test.go:99: file in workspace: .vscode-remote
    tasks_test.go:99: file in workspace: command-ran
--- PASS: TestRegularWorkspaceTasks (60.07s)
    --- PASS: TestRegularWorkspaceTasks/ws-manager (60.07s)
        --- PASS: TestRegularWorkspaceTasks/ws-manager/it_can_run_workspace_tasks (60.07s)
            --- PASS: TestRegularWorkspaceTasks/ws-manager/it_can_run_workspace_tasks/init (25.76s)
            --- PASS: TestRegularWorkspaceTasks/ws-manager/it_can_run_workspace_tasks/before (16.82s)
            --- PASS: TestRegularWorkspaceTasks/ws-manager/it_can_run_workspace_tasks/command (17.49s)
PASS
ok      github.com/gitpod-io/gitpod/test/tests/components/ws-manager    63.224s
testing: warning: no tests to run
PASS
ok      github.com/gitpod-io/gitpod/test/tests/ide/jetbrains    2.858s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/gitpod-io/gitpod/test/tests/ide/vscode       2.872s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/gitpod-io/gitpod/test/tests/workspace        2.900s [no tests to run]
?       github.com/gitpod-io/gitpod/test/tests/workspace/common [no test files]

Release Notes

None

Documentation

@princerachit princerachit requested a review from jenting May 12, 2022 07:55
Copy link
Contributor

@jenting jenting left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@roboquat roboquat merged commit d7cb9e7 into main May 12, 2022
@roboquat roboquat deleted the prs/fix-partial-test branch May 12, 2022 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix broken integration test TestRegularWorkspaceTasks
3 participants