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

        Hide
        Kristian Waagan added a comment -

        Closing issue.

        Show
        Kristian Waagan added a comment - Closing issue.
        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.
        Hide
        Knut Anders Hatlen added a comment -

        Thanks Suran! Committed revision 664532.

        Show
        Knut Anders Hatlen added a comment - Thanks Suran! Committed revision 664532.
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development