You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2016/01/13 18:46:39 UTC
[jira] [Commented] (BIGTOP-2234) TestBlockRecovery incorrectly
fails on a single node cluster
[ https://issues.apache.org/jira/browse/BIGTOP-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096658#comment-15096658 ]
Evans Ye commented on BIGTOP-2234:
----------------------------------
Sorry I guess this is tangential. The implicit requirement of 3 datanodes is hard to discover without digging into the testing code. Can we add some notes when the test fail?
Anyhow the patch looks good to me w/o a test.
> TestBlockRecovery incorrectly fails on a single node cluster
> ------------------------------------------------------------
>
> Key: BIGTOP-2234
> URL: https://issues.apache.org/jira/browse/BIGTOP-2234
> Project: Bigtop
> Issue Type: Sub-task
> Components: tests
> Affects Versions: 1.0.0
> Reporter: Konstantin Boudnik
> Assignee: Konstantin Boudnik
> Fix For: 1.1.0
>
> Attachments: 0001-BIGTOP-2234.-TestBlockRecovery-incorrectly-fails-on-.patch
>
>
> While running on a single node cluster, {{TestBlockRecovery}} fails with {{AssumtionViolationException}}. Turns out Assume shouldn't be used in {{@BeforeClass}} and {{@AfterClass}} methods.
> While it might be untypical to run such a test in the single node setup, it is yet convenient during the development cycle and incorrectly failing test is spoiling the picture. Let's fix.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)