Skip to content

Commit 75c5b9f

Browse files
committed
fix test
Signed-off-by: guojialiang <[email protected]>
1 parent d910aaf commit 75c5b9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/ssl-config/src/test/java/org/opensearch/common/ssl/PemTrustConfigTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ private void assertFailedToParseOrInvalidFileFormat(PemTrustConfig trustConfig,
150150
} catch (Throwable t) {
151151
// do nothing
152152
}
153+
// Any exception are as expected
153154
assert isFailedToParse || isInvalidFileFormat;
154155
}
155156

0 commit comments

Comments
 (0)