[
https://issues.apache.org/jira/browse/HDFS-13938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16631453#comment-16631453
]
Hudson commented on HDFS-13938:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15072 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/15072/])
HDFS-13938. Add a missing break in BaseTestHttpFSWith. Contributed by
(aajisaka: rev 284aca8b63cf4f7b84d290721fcbff5f5db78983)
* (edit)
hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java
> 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, test
> Affects Versions: 3.2.0
> Reporter: Siyao Meng
> Assignee: Siyao Meng
> Priority: Minor
> Fix For: 3.2.0
>
> Attachments: HDFS-13938.001.patch, HDFS-13938.001.patch,
> HDFS-13938.002.patch
>
>
> 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]