0 Replies Latest reply: Aug 3, 2010 1:46 PM by 785399 RSS

    Unit test Teardown failure

    785399
      I have noticed that when I have a Startup Process and a Teardown Process for a unit test
      AND
      If the table I am testing has 40K + records
      AND
      The Startup Process contains a Where Condition

      When I run the test the unit test fails with the following error:

      Teardown Table or Row Restore failed:
      ORA-06502: PL/SQL: numeric or value error:
      character string buffer too small
      ORA-06512: at line 22

      I have tried this on different tables. if the table is small or if the Startup Process does not contain a Where Condition the test works.

      Any Ideas on how I can avoid these errors?