Oracle Error ORA-19903: test recovery not allowed when recovering to new incarnation

Oracle Error Message

ORA-19903: test recovery not allowed when recovering to new incarnation

Reason for the Error

Either a new incarnation was set using RMAN’s RESET DATABASE command for a control file that was CURRENT, or the control file is from a prior incarnation. As recovery to a new incarnation requires changing the control file, test recovery is not allowed.

Solution

Perform actual recovery or RESET DATABASE to incarnation that was last opened using the control file to do test recovery.