OpenJPA
  1. OpenJPA
  2. OPENJPA-1147

Streaming LOB tests and TestAutoIncrement not executed by test suite

    Details

      Description

      InputStreamLobTest and ReaderLobTest tests are not executed because their names end with "Test". TestAutoIncrement is Oracle-specific but is not executed even against Oracle unless you specify -Dplatform=oracle.

      Solution:
      1. Rename streaming LOB tests to start with "Test".
      2. Remove isTargetPlatform call from TestAutoIncrement since the test already has @DatabasePlatform("oracle.jdbc.driver.OracleDriver") annotation.

      BTW, a similar issue is with TestOrderColumnXML.testOrderColumnColumnDefinition. It requires to specify -Dplatform=... not to run it if the database is not Derby but I don't think our database profiles do that. Maybe it's better to just use instanceof on DBDictionary.

        Activity

        Milosz Tylenda created issue -
        Milosz Tylenda made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.3.0 [ 12313326 ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Resolution Fixed [ 1 ]
        Donald Woods made changes -
        Fix Version/s 2.0.0-M3 [ 12314148 ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Milosz Tylenda
            Reporter:
            Milosz Tylenda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development