You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by pn...@apache.org on 2021/09/01 06:17:30 UTC

[flink] branch master updated: [FLINK-23468][test] Do not hide original exception if SSL is not available

This is an automated email from the ASF dual-hosted git repository.

pnowojski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new e050a48  [FLINK-23468][test] Do not hide original exception if SSL is not available
e050a48 is described below

commit e050a482574bc690fe7490296e934094a5570865
Author: Piotr Nowojski <pi...@gmail.com>
AuthorDate: Tue Aug 31 14:18:42 2021 +0200

    [FLINK-23468][test] Do not hide original exception if SSL is not available
---
 .../src/test/java/org/apache/flink/runtime/net/SSLUtilsTest.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/net/SSLUtilsTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/net/SSLUtilsTest.java
index 6836cda..2419501 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/net/SSLUtilsTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/net/SSLUtilsTest.java
@@ -521,7 +521,7 @@ public class SSLUtilsTest extends TestLogger {
 
     private static void addSslProviderConfig(Configuration config, String sslProvider) {
         if (sslProvider.equalsIgnoreCase("OPENSSL")) {
-            assertTrue("openSSL not available", OpenSsl.isAvailable());
+            OpenSsl.ensureAvailability();
 
             // Flink's default algorithm set is not available for openSSL - choose a different one:
             config.setString(