[
https://issues.apache.org/jira/browse/HDFS-13938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siyao Meng updated HDFS-13938:
------------------------------
Description:
In BaseTestHttpFSWith:
{code:java}
case DISALLOW_SNAPSHOT:
testDisallowSnapshot();
break;
case DISALLOW_SNAPSHOT_EXCEPTION:
testDisallowSnapshotException();
// Missed a "break" here.
case FILE_STATUS_ATTR:
testFileStatusAttr();
break;
{code}
The missing "break" won't cause any bugs though. Just the fact that
testFileStatusAttr() will be run a second time after
testDisallowSnapshotException() finishes. :P
was:
In BaseTestHttpFSWith:
{code:java}
case DISALLOW_SNAPSHOT:
testDisallowSnapshot();
break;
case DISALLOW_SNAPSHOT_EXCEPTION:
testDisallowSnapshotException();
// Missed a "break" here.
case FILE_STATUS_ATTR:
testFileStatusAttr();
break;
{code}
The missing "break" won't cause any bugs though.
> Add a missing "break" in BaseTestHttpFSWith
> -------------------------------------------
>
> Key: HDFS-13938
> URL: https://issues.apache.org/jira/browse/HDFS-13938
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: httpfs
> Affects Versions: 3.2.0
> Reporter: Siyao Meng
> Assignee: Siyao Meng
> Priority: Trivial
>
> In BaseTestHttpFSWith:
> {code:java}
> case DISALLOW_SNAPSHOT:
> testDisallowSnapshot();
> break;
> case DISALLOW_SNAPSHOT_EXCEPTION:
> testDisallowSnapshotException();
> // Missed a "break" here.
> case FILE_STATUS_ATTR:
> testFileStatusAttr();
> break;
> {code}
> The missing "break" won't cause any bugs though. Just the fact that
> testFileStatusAttr() will be run a second time after
> testDisallowSnapshotException() finishes. :P
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]