Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.4.1.3
    • Fix Version/s: 10.6.1.0
    • Component/s: Test
    • Labels:
      None
    1. derby-3473.diff
      9 kB
      Anurag Shekhar

      Activity

      Hide
      anurag Anurag Shekhar added a comment -

      This patch has test case to test insert while the record is deleted from a different transaction. If the other transaction commits insert should pass otherwise should result in intergrityConstraintviolation exception.

      This patch is not meant for commit but to get the others views and ideas about what other test cases I should be adding to it.

      Show
      anurag Anurag Shekhar added a comment - This patch has test case to test insert while the record is deleted from a different transaction. If the other transaction commits insert should pass otherwise should result in intergrityConstraintviolation exception. This patch is not meant for commit but to get the others views and ideas about what other test cases I should be adding to it.
      Hide
      kmarsden Kathey Marsden added a comment -

      This issue has a patch attached (and has since Feb 2008) that we should look at and incorporate if appropriate.

      Show
      kmarsden Kathey Marsden added a comment - This issue has a patch attached (and has since Feb 2008) that we should look at and incorporate if appropriate.
      Hide
      myrna Myrna van Lunteren added a comment -

      I looked at the patch and it seemed useful and ok.
      Further additions can be made when someone thinks of them...

      I removed the 'main' method and some unused imports from the UniqueConstraintMultiThreadedTest, and added the test to lang._Suite.java.
      Committed with revision 827793.

      Show
      myrna Myrna van Lunteren added a comment - I looked at the patch and it seemed useful and ok. Further additions can be made when someone thinks of them... I removed the 'main' method and some unused imports from the UniqueConstraintMultiThreadedTest, and added the test to lang._Suite.java. Committed with revision 827793.
      Hide
      myrna Myrna van Lunteren added a comment -

      check-in caused some javadoc warnings;
      trunk\java\testing\org\apache\derbyTesting\functionTests\tests\lang\DBOperations.java:40: warning - @return tag has no arguments.
      trunk\java\testing\org\apache\derbyTesting\functionTests\tests\lang\DBOperations.java:40: warning - Tag @return cannot be used in constructor documentation. It can only be used in the following types of documentation: method.

      reopening, I'll address this shortly.

      Show
      myrna Myrna van Lunteren added a comment - check-in caused some javadoc warnings; trunk\java\testing\org\apache\derbyTesting\functionTests\tests\lang\DBOperations.java:40: warning - @return tag has no arguments. trunk\java\testing\org\apache\derbyTesting\functionTests\tests\lang\DBOperations.java:40: warning - Tag @return cannot be used in constructor documentation. It can only be used in the following types of documentation: method. reopening, I'll address this shortly.
      Hide
      myrna Myrna van Lunteren added a comment -

      removed the @return with revision 828228.

      Show
      myrna Myrna van Lunteren added a comment - removed the @return with revision 828228.

        People

        • Assignee:
          anurag Anurag Shekhar
          Reporter:
          anurag Anurag Shekhar
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development