asfgit closed pull request #7159: [FLINK-10983][queryable state] Increase port
range for NonHAQueryableStateFsBackendITCase
URL: https://github.com/apache/flink/pull/7159
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/flink-queryable-state/flink-queryable-state-runtime/src/test/java/org/apache/flink/queryablestate/itcases/NonHAQueryableStateFsBackendITCase.java
b/flink-queryable-state/flink-queryable-state-runtime/src/test/java/org/apache/flink/queryablestate/itcases/NonHAQueryableStateFsBackendITCase.java
index 9116304ebf5..36637c0d342 100644
---
a/flink-queryable-state/flink-queryable-state-runtime/src/test/java/org/apache/flink/queryablestate/itcases/NonHAQueryableStateFsBackendITCase.java
+++
b/flink-queryable-state/flink-queryable-state-runtime/src/test/java/org/apache/flink/queryablestate/itcases/NonHAQueryableStateFsBackendITCase.java
@@ -44,6 +44,7 @@
// we always use all TaskManagers so that the JM oracle is always
properly re-registered
private static final int NUM_TMS = 2;
private static final int NUM_SLOTS_PER_TM = 2;
+ private static final int NUM_PORT_COUNT = 100;
private static final int QS_PROXY_PORT_RANGE_START = 9084;
private static final int QS_SERVER_PORT_RANGE_START = 9089;
@@ -86,10 +87,10 @@ private static Configuration getConfig() {
config.setInteger(QueryableStateOptions.SERVER_NETWORK_THREADS,
1);
config.setString(
QueryableStateOptions.PROXY_PORT_RANGE,
- QS_PROXY_PORT_RANGE_START + "-" +
(QS_PROXY_PORT_RANGE_START + NUM_TMS));
+ QS_PROXY_PORT_RANGE_START + "-" +
(QS_PROXY_PORT_RANGE_START + NUM_PORT_COUNT));
config.setString(
QueryableStateOptions.SERVER_PORT_RANGE,
- QS_SERVER_PORT_RANGE_START + "-" +
(QS_SERVER_PORT_RANGE_START + NUM_TMS));
+ QS_SERVER_PORT_RANGE_START + "-" +
(QS_SERVER_PORT_RANGE_START + NUM_PORT_COUNT));
config.setBoolean(WebOptions.SUBMIT_ENABLE, false);
return config;
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services