Oracle Solution for Error ora-19903

Solution for Oracle Error ORA-19903

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

What triggered the Error:

ther 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.

What should we do to fix it:

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