flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnowoj...@apache.org
Subject [flink] branch master updated: [FLINK-23468][test] Do not hide original exception if SSL is not available
Date Wed, 01 Sep 2021 06:17:30 GMT
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 <piotr.nowojski@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(

Mime
View raw message