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

[YUNIKORN-2650]Complete or remove web_server_test#TestProxy #853

Closed
wants to merge 3 commits into from

Conversation

0lai0
Copy link
Contributor

@0lai0 0lai0 commented May 31, 2024

What is this PR for?

This PR completes web_server_test#TestProxy.

What type of PR is it?

  • - Improvement

Todos

  • - Task

What is the Jira issue?

[YUNIKORN-2650]

How should this be tested?

It has been checked locally by make test.

Screenshots (if appropriate)

N/A

Questions:

N/A

@@ -80,5 +80,43 @@ func TestWebServer(t *testing.T) {
}

func TestProxy(t *testing.T) {
mux := http.NewServeMux()
Copy link
Contributor

Choose a reason for hiding this comment

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

This test case is duplicate to TestWebServer, so I prefer to remove TestProxy instead of having many duplicate code. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, I think we can remove TestProxy. No problem, I'll make this change.

@chenyulin0719 chenyulin0719 self-requested a review June 2, 2024 16:41
Copy link
Contributor

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

LGTM

@pbacsko
Copy link
Contributor

pbacsko commented Jun 3, 2024

@0lai0 please fix the linter warning.

@pbacsko
Copy link
Contributor

pbacsko commented Jun 6, 2024

Test failure is unrelated.

@pbacsko
Copy link
Contributor

pbacsko commented Jun 6, 2024

"make test" & "make lint" passed locally, will merge soon.

Copy link
Contributor

@pbacsko pbacsko left a comment

Choose a reason for hiding this comment

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

+1

@pbacsko pbacsko closed this in 0bb441d Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants