Derby
  1. Derby
  2. DERBY-3715

java/testing/README.htm refers to a non-existing test

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.5.1.1
    • Fix Version/s: 10.5.1.1
    • Component/s: Test
    • Labels:
      None
    • Environment:
      Win XP SP2, Derby trunk svn checkout

      Description

      Section "4.12 Some test harness properties" refers to "lang/streamingColumn.java" which is non existent.

      jvmflags - sets specific jvm properties for each jvm instantiated by the test harness, for instance for setting initial and maximum heap size (note that setting only initial size or only max size may cause incompatibilities with heap settings picked up from harness property files or from the command line), or other properties that need to be passed on to the jvm, separated by '^'. This property can be set on the commandline for either RunTest or RunSuite, or in one of the properties files used by the tests. The property jvmflags when passed on at the command line supercedes the properties set in a suite's propertyfile, and those supercede jvmflags properties set in a subsuite's or test's propertyfile, because the 'highest' level properties are passed to the jvm last. Setting this property for a test that runs with useprocess=false cannot have any effect. Example:
      java -Djvmflags=-Xms32M^-Xmx128M org.apache.derbyTesting.functionTests.RunTest lang/streamingColumn.java

      streamingColumn.java is in store, not lang, and furthermore it is being replaced by its JUnit conversion, StreamingColumn.java.
      Suggest putting a different test for the example here.

      1. derby-3715.diff
        0.6 kB
        Suran Jayathilaka

        Activity

        Gavin made changes -
        Workflow jira [ 12432800 ] Default workflow, editable Closed status [ 12799575 ]
        Kristian Waagan made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Kristian Waagan added a comment -

        Closing issue.

        Show
        Kristian Waagan added a comment - Closing issue.
        Myrna van Lunteren made changes -
        Affects Version/s 10.5.1.1 [ 12313771 ]
        Affects Version/s 10.5.0.0 [ 12313010 ]
        Fix Version/s 10.5.1.1 [ 12313771 ]
        Fix Version/s 10.5.0.0 [ 12313010 ]
        Knut Anders Hatlen made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Hide
        Knut Anders Hatlen added a comment -

        The example you fixed, and some of the other examples, said that the RunTest class was in package org.apache.derbyTesting.functionTests, whereas it should have been ...functionTests.harness. I fixed this in revision 664533.

        Show
        Knut Anders Hatlen added a comment - The example you fixed, and some of the other examples, said that the RunTest class was in package org.apache.derbyTesting.functionTests, whereas it should have been ...functionTests.harness. I fixed this in revision 664533.
        Knut Anders Hatlen made changes -
        Affects Version/s 10.5.0.0 [ 12313010 ]
        Derby Info [Patch Available]
        Fix Version/s 10.5.0.0 [ 12313010 ]
        Hide
        Knut Anders Hatlen added a comment -

        Thanks Suran! Committed revision 664532.

        Show
        Knut Anders Hatlen added a comment - Thanks Suran! Committed revision 664532.
        Suran Jayathilaka made changes -
        Derby Info [Patch Available]
        Suran Jayathilaka made changes -
        Attachment derby-3715.diff [ 12383652 ]
        Hide
        Suran Jayathilaka added a comment -

        Patch changes lang/streamingColumn.java to lang/concateTests.java

        Show
        Suran Jayathilaka added a comment - Patch changes lang/streamingColumn.java to lang/concateTests.java
        Suran Jayathilaka made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Suran Jayathilaka created issue -

          People

          • Assignee:
            Suran Jayathilaka
            Reporter:
            Suran Jayathilaka
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development