Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: add test for enterprise server cli#12353

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 2 commits intomainfromcj/enterprise-server-test
Feb 29, 2024

Conversation

johnstcn
Copy link
Member

To validate that this exercises the code path, add a panic intoenterprise/cli/server.go and run the test:

=== RUN   TestServer=== PAUSE TestServer=== CONT  TestServer    clitest.go:75: invoking command: coder --global-config /tmp/TestServer19218759/001 server --in-memory --http-address :40317 --access-url http://example.com    t.go:99: 2024-02-28 17:00:39.503 [info]  cli: stdout: Started HTTP listener at http://[::]:40317    t.go:99: 2024-02-28 17:00:39.503 [info]  cli: stdout: View the Web UI: http://example.com    t.go:99: 2024-02-28 17:00:39.503 [warn]  cli: telemetry disabled, unable to notify of security issues. Read more: https://coder.com/docs/v2/latest/admin/telemetry    t.go:99: 2024-02-28 17:00:39.504 [info]  cli: stderr: 2024-02-28 17:00:39.503 [warn]  cli: telemetry disabled, unable to notify of security issues. Read more: https://coder.com/docs/v2/latest/admin/telemetrypanic: got here [recovered]        panic: panic recovered for coder server: got hereFAIL    github.com/coder/coder/v2/enterprise/cli        0.098sFAIL

@johnstcnjohnstcn self-assigned thisFeb 28, 2024
@johnstcnjohnstcnenabled auto-merge (squash)February 29, 2024 09:51
Copy link
Member

@mtojekmtojek left a comment

Choose a reason for hiding this comment

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

👍

auto-merge was automatically disabledFebruary 29, 2024 09:57

Pull Request is not mergeable

@johnstcnjohnstcnenabled auto-merge (squash)February 29, 2024 10:08
@johnstcnjohnstcn merged commit2bf3c72 intomainFeb 29, 2024
@johnstcnjohnstcn deleted the cj/enterprise-server-test branchFebruary 29, 2024 10:25
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsFeb 29, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mtojekmtojekmtojek approved these changes

@deansheatherdeansheatherAwaiting requested review from deansheather

Assignees

@johnstcnjohnstcn

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@johnstcn@mtojek

[8]ページ先頭

©2009-2025 Movatter.jp