-
Notifications
You must be signed in to change notification settings - Fork 228
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
Add an end to end test for helix gateway #2922
Add an end to end test for helix gateway #2922
Conversation
6a9cb1d
to
73a9ef1
Compare
1c17076
to
e15c9d2
Compare
73a9ef1
to
bfbd2a0
Compare
There was a problem hiding this 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.
@@ -165,7 +165,7 @@ public static GatewayServiceEvent translateCurrentStateChangeToEvent(String inst | |||
* @param shardStateMap the initial state of shards on the participant. Could be empty map | |||
* @return | |||
*/ | |||
public static GatewayServiceEvent translateCurrentStateDiffToInitConnectEvent(String instanceName, String clusterName, | |||
public static GatewayServiceEvent translateCurrentStateDiffToInitConnectEvent( String clusterName, String instanceName, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix whitespace before "String"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for above methods
@@ -144,7 +144,7 @@ public static GatewayServiceEvent translateClientCloseToEvent(String instanceNam | |||
* @param shardStateMap | |||
* @return | |||
*/ | |||
public static GatewayServiceEvent translateCurrentStateChangeToEvent(String instanceName, String clusterName, | |||
public static GatewayServiceEvent translateCurrentStateChangeToEvent( String clusterName, String instanceName, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space before String
@@ -130,7 +130,7 @@ public static GatewayServiceEvent translateShardStateMessageToEventAndUpdateCach | |||
* @param clusterName the cluster name | |||
* @return GatewayServiceEvent | |||
*/ | |||
public static GatewayServiceEvent translateClientCloseToEvent(String instanceName, String clusterName) { | |||
public static GatewayServiceEvent translateClientCloseToEvent( String clusterName, String instanceName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space before String
This change is ready to be merged. Approved by @junkaixue |
Issues
#2821
Description
This change add e2e test and fix some bugs
Tests
TestFilePullChannelE2E
(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)
(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)
(Link the GitHub wiki you added)
Commits
Code Quality
(helix-style-intellij.xml if IntelliJ IDE is used)