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

Speeds up dubbo tests, aligns conventions and bumps deps #1432

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

codefromthecrypt
Copy link
Member

This speeds up dubbo tests by reducing the default server shutdown to 1s.
It also moves conventions for invoker tests to use "floor version" consistently per #1431.
Finally, this updates all the dependencies that can be updated.

Copy link
Member Author

@codefromthecrypt codefromthecrypt left a comment

Choose a reason for hiding this comment

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

dubbo notes

@@ -42,16 +41,17 @@ class TestServer {
if (linkLocalIp != null) {
// avoid dubbo's logic which might pick docker ip
System.setProperty(CommonConstants.DUBBO_IP_TO_BIND, linkLocalIp);
System.setProperty(Constants.DUBBO_IP_TO_REGISTRY, linkLocalIp);
System.setProperty(CommonConstants.DubboProperty.DUBBO_IP_TO_REGISTRY, linkLocalIp);
Copy link
Member Author

Choose a reason for hiding this comment

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

this was drift between beta 1 and 2

}
// reduce dubbo shutdown timeout to 1s
System.setProperty(CommonConstants.SHUTDOWN_WAIT_KEY, "1000");
Copy link
Member Author

Choose a reason for hiding this comment

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

this is why dubbo tests were so slow (still slow, but less slow)

@codefromthecrypt codefromthecrypt merged commit 170c79f into master Apr 10, 2024
3 checks passed
@codefromthecrypt codefromthecrypt deleted the bumps branch April 10, 2024 22:54
@codefromthecrypt
Copy link
Member Author

thanks for the look @reta!

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.

2 participants