Skip to content

Conversation

@xyuanlu
Copy link
Contributor

@xyuanlu xyuanlu commented Sep 15, 2024

Issues

  • My PR addresses the following Helix issues and references them in the PR description:

#2821

Description

  • Here are some details about my PR, including screenshots of any UI changes:

This change add e2e test and fix some bugs

Tests

  • The following tests are written for this issue:

TestFilePullChannelE2E

  • The following is the result of the "mvn test" command on the appropriate module:

(If CI test fails due to known issue, please specify the issue and test PR locally. Then copy & paste the result of "mvn test" to here.)

Changes that Break Backward Compatibility (Optional)

  • My PR contains changes that break backward compatibility or previous assumptions for certain methods or API. They include:

(Consider including all behavior changes for public methods or API. Also include these changes in merge description so that other developers are aware of these changes. This allows them to make relevant code changes in feature branches accounting for the new method/API behavior.)

Documentation (Optional)

  • In case of new functionality, my PR adds documentation in the following wiki page:

(Link the GitHub wiki you added)

Commits

  • My commits all reference appropriate Apache Helix GitHub issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":
    1. Subject is separated from body by a blank line
    2. Subject is limited to 50 characters (not including Jira issue reference)
    3. Subject does not end with a period
    4. Subject uses the imperative mood ("add", not "adding")
    5. Body wraps at 72 characters
    6. Body explains "what" and "why", not "how"

Code Quality

  • My diff has been formatted using helix-style.xml
    (helix-style-intellij.xml if IntelliJ IDE is used)

@xyuanlu xyuanlu force-pushed the gateway-e2etest branch 3 times, most recently from 6a9cb1d to 73a9ef1 Compare September 15, 2024 05:20
@xyuanlu xyuanlu marked this pull request as ready for review September 15, 2024 17:40
@asfgit asfgit force-pushed the helix-gateway-service branch from 1c17076 to e15c9d2 Compare September 18, 2024 20:43
Copy link
Contributor

@zpinto zpinto left a comment

Choose a reason for hiding this comment

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

Overall LGTM, comments are for formatting.

* @return
*/
public static GatewayServiceEvent translateCurrentStateDiffToInitConnectEvent(String instanceName, String clusterName,
public static GatewayServiceEvent translateCurrentStateDiffToInitConnectEvent( String clusterName, String instanceName,
Copy link
Contributor

Choose a reason for hiding this comment

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

Fix whitespace before "String"

Copy link
Contributor

Choose a reason for hiding this comment

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

Same for above methods

* @return
*/
public static GatewayServiceEvent translateCurrentStateChangeToEvent(String instanceName, String clusterName,
public static GatewayServiceEvent translateCurrentStateChangeToEvent( String clusterName, String instanceName,
Copy link
Contributor

Choose a reason for hiding this comment

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

space before String

* @return GatewayServiceEvent
*/
public static GatewayServiceEvent translateClientCloseToEvent(String instanceName, String clusterName) {
public static GatewayServiceEvent translateClientCloseToEvent( String clusterName, String instanceName) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Space before String

@xyuanlu
Copy link
Contributor Author

xyuanlu commented Sep 23, 2024

This change is ready to be merged. Approved by @junkaixue
Commit message:
Add an end to end test for helix gateway

@xyuanlu xyuanlu merged commit d09d40b into apache:helix-gateway-service Sep 23, 2024
asf-gitbox-commits pushed a commit that referenced this pull request Dec 9, 2025
Add an end to end test for helix gateway
junkaixue pushed a commit that referenced this pull request Dec 9, 2025
Add an end to end test for helix gateway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants