zentol commented on a change in pull request #18115:
URL: https://github.com/apache/flink/pull/18115#discussion_r769590034



##########
File path: 
flink-connectors/flink-connector-cassandra/src/test/java/org/apache/flink/streaming/connectors/cassandra/CassandraConnectorITCase.java
##########
@@ -95,38 +82,31 @@
 
 /** IT cases for all cassandra sinks. */
 @SuppressWarnings("serial")
-@Category(FailsOnJava11.class)
-// this test is known to be unstable, but the exact cause is unknown
-@RetryOnException(times = 2, exception = NoHostAvailableException.class)
 public class CassandraConnectorITCase
         extends WriteAheadSinkTestBase<
                 Tuple3<String, Integer, Integer>,
                 CassandraTupleWriteAheadSink<Tuple3<String, Integer, 
Integer>>> {
 
-    private static final Logger LOG = 
LoggerFactory.getLogger(CassandraConnectorITCase.class);
-
-    @Rule public final RetryRule retryRule = new RetryRule();
-
-    private static final boolean EMBEDDED = true;
-
-    private static EmbeddedCassandraService cassandra;
+    private static final String IMAGE_TAG = "3.0";
 
-    private static final String HOST = "127.0.0.1";
+    @ClassRule public static CassandraContainer cassandra = 
createCassandraContainer(IMAGE_TAG);

Review comment:
       can be final




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to