You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/07/06 12:30:00 UTC

[GitHub] [flink] zentol commented on a diff in pull request #20184: [FLINK-28198][connectors][cassandra] raise driver timeouts per session request and raise it higher than cluster side timetouts

zentol commented on code in PR #20184:
URL: https://github.com/apache/flink/pull/20184#discussion_r914779600


##########
flink-connectors/flink-connector-cassandra/src/test/java/org/apache/flink/streaming/connectors/cassandra/CassandraConnectorITCase.java:
##########
@@ -458,7 +464,10 @@ protected Tuple3<String, Integer, Integer> generateValue(int counter, int checkp
     protected void verifyResultsIdealCircumstances(
             CassandraTupleWriteAheadSink<Tuple3<String, Integer, Integer>> sink) {
 
-        ResultSet result = session.execute(injectTableName(SELECT_DATA_QUERY));
+        ResultSet result =
+                session.execute(
+                        new SimpleStatement(injectTableName(SELECT_DATA_QUERY))
+                                .setReadTimeoutMillis(READ_TIMEOUT_MILLIS));

Review Comment:
   Isn't this already set in the cluster builder?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org