[
https://issues.apache.org/jira/browse/HBASE-22515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16854579#comment-16854579
]
Wellington Chevreuil commented on HBASE-22515:
----------------------------------------------
Does it really make sense having tests that we expect to fail a build? Should
we rather skip those under the conditions from this profile, and add new ones
that then validate the condition (and would be skipped when building with other
profiles)? My view is that a test failure is always a red flag in a build,
something that's not acting as expected, but here we do expect a failure, which
can be confusing.
> Document HBOSS test cases known to fail under Null lock implementation
> ----------------------------------------------------------------------
>
> Key: HBASE-22515
> URL: https://issues.apache.org/jira/browse/HBASE-22515
> Project: HBase
> Issue Type: Task
> Components: Filesystem Integration
> Affects Versions: hbase-filesystem-1.0.0-alpha1
> Reporter: Sean Busbey
> Assignee: Wellington Chevreuil
> Priority: Minor
>
> some existing test fail when the null locking implementation is used, because
> correctness relies on locks:
> {code}
> [INFO] Running org.apache.hadoop.hbase.oss.TestAtomicRename
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.661
> s <<< FAILURE! - in org.apache.hadoop.hbase.oss.TestAtomicRename
> [ERROR] testAtomicRename(org.apache.hadoop.hbase.oss.TestAtomicRename) Time
> elapsed: 1.498 s <<< FAILURE!
> java.lang.AssertionError: Rename source is still visible after rename
> finished or target showed up.
> at
> org.apache.hadoop.hbase.oss.TestAtomicRename.testAtomicRename(TestAtomicRename.java:73)
> [INFO] Running org.apache.hadoop.hbase.oss.TestCreateNonRecursive
> [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.088
> s <<< FAILURE! - in org.apache.hadoop.hbase.oss.TestCreateNonRecursive
> [ERROR]
> testCreateNonRecursiveParallel(org.apache.hadoop.hbase.oss.TestCreateNonRecursive)
> Time elapsed: 0.872 s <<< FAILURE!
> java.lang.AssertionError: All but exactly 1 call should have thrown
> exceptions. Experiment 1 of 10. expected:<9> but was:<0>
> at
> org.apache.hadoop.hbase.oss.TestCreateNonRecursive.testCreateNonRecursiveParallel(TestCreateNonRecursive.java:103)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)