[ 
https://issues.apache.org/jira/browse/HBASE-29503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Geiszler updated HBASE-29503:
-----------------------------------
    Description: 
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. 

  was: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.


> IntegrationTestBackupRestore is passing even if an exception occurs the 
> thread 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
>
> 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)

Reply via email to