[
https://issues.apache.org/jira/browse/HADOOP-17645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17324683#comment-17324683
]
Anoop Sam John commented on HADOOP-17645:
-----------------------------------------
Noticed one more consistent fail in
ITestWasbUriAndConfiguration#testCanonicalServiceName
{code}
// Default getCanonicalServiceName() will try to resolve the host to IP,
// because the mock container does not exist, this call is expected to
fail.
intercept(IllegalArgumentException.class,
"java.net.UnknownHostException",
() -> fs0.getCanonicalServiceName());
{code}
Here the container name is a mock one 'mockContainer' and account name is
mockAccount.blob.core.windows.net
While resolve to IP, the container wont come into picture at all. And seems
there is an account 'mockAccount.blob.core.windows.net' present now as it
resolves to an IP. So this test always fails now. I feel its a flaky test. We
rely on a storage account name and assume it wont be present. We can not
guarantee that. Better we can remove this part from test. The test already
checks for the getCanonicalServiceName() with conf
'fs.azure.override.canonical.service.name' to true.
Thoughts [[email protected]]. May I fix this also as part of this PR?
> Fix test failures in org.apache.hadoop.fs.azure.ITestOutputStreamSemantics
> --------------------------------------------------------------------------
>
> Key: HADOOP-17645
> URL: https://issues.apache.org/jira/browse/HADOOP-17645
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 3.3.1, 3.4.0
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Failures after HADOOP-13327
> PageBlob and Compacting BlockBlob having only hflush and hsync capability.
> The test wrongly assert capability DROPBEHIND, READAHEAD, UNBUFFER
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]