Skip to content

Commit 43e8308

Browse files
committed
fixes typo
1 parent 0127367 commit 43e8308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/TestErrorTranslation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public void testEncryptionClientExceptionExtraction() throws Throwable {
169169
public void testNonEncryptionClientExceptionExtraction() throws Throwable {
170170
intercept(SdkException.class, () -> {
171171
throw maybeExtractSdkException(
172-
sdkException("top", sdkException("middle", new NoConstructorIOE())));
172+
sdkException("top", sdkException("middle", NoSuchKeyException.builder().build())));
173173
});
174174
}
175175
}

0 commit comments

Comments
 (0)