You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Tak-Lon (Stephen) Wu (Jira)" <ji...@apache.org> on 2025/08/14 21:44:00 UTC
[jira] [Commented] (HBASE-29503) IntegrationTestBackupRestore is passing even if an exception occurs in the thread(s) it creates
[ https://issues.apache.org/jira/browse/HBASE-29503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014008#comment-18014008 ]
Tak-Lon (Stephen) Wu commented on HBASE-29503:
----------------------------------------------
merged as https://github.com/apache/hbase/commit/d80bbefb612098c11f4ddd874aead35bbc780d14
[~kgeiszler] please see if you need to cherry-pick onto branch-2 and branch-3
> IntegrationTestBackupRestore is passing even if an exception occurs in the thread(s) it creates
> -----------------------------------------------------------------------------------------------
>
> Key: HBASE-29503
> URL: https://issues.apache.org/jira/browse/HBASE-29503
> Project: HBase
> Issue Type: Bug
> Components: integration tests
> Reporter: Kevin Geiszler
> Assignee: Kevin Geiszler
> Priority: Major
> Labels: pull-request-available
>
> As part of HBASE-29411, I am adding another test case to IntegrationTestBackupRestore that performs a backup and restore with continuous backup enabled. I was at a point where the test should have been failing, but it was still passing. IntegrationTestBackupRestore is performing the backup and restore in a separate thread that the test creates. If an exception occurs in this thread, then the exception is logged, but the test still passes. We should have the exception bubble up to the main thread and have it be thrown there as well so the test actually fails.
> I also noticed the FileNotFoundException coming from HBASE-29447 was being suppressed by this issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)