Skip to content

Commit

Permalink
fix(proxy): relax the long polling timeout limit in unit test
Browse files Browse the repository at this point in the history
Signed-off-by: SSpirits <[email protected]>
  • Loading branch information
ShadowySpirits committed Oct 20, 2023
1 parent 76a5cca commit 4bf5105
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ public static void setUpAll() throws Exception {
Field field = ConfigurationManager.class.getDeclaredField("configuration");
field.setAccessible(true);
Configuration configuration = new Configuration();
configuration.setProxyConfig(new ProxyConfig());
ProxyConfig config = new ProxyConfig();
config.setGrpcClientConsumerMinLongPollingTimeoutMillis(0);
configuration.setProxyConfig(config);
field.set(null, configuration);
}

Expand Down

0 comments on commit 4bf5105

Please sign in to comment.