Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public static Channel createChannel(String name, Set<String> perClientIntercepto
// handle client port
int port = config.port();
if (LaunchMode.current() == LaunchMode.TEST) {
LOGGER.info("LaunchMode {} detected. Overriding existing port configuration for gRPC client/server .", LaunchMode.TEST);
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps suggest a fix via the exact property usage.
It's a bit longer msg, but we have a similar long one for use-separate-server ... ;-)

Copy link
Member

Choose a reason for hiding this comment

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

Why having a format if you know everything?

port = config.testPort().orElse(testPort(configProvider.getServerConfiguration()));
}

Expand Down
Loading