RFR: 7903761: Test jthtest.TestTree.TestTree3 fails consistently with JDK17/Linux

Golla Yadav duke at openjdk.org
Tue Jul 2 20:32:33 UTC 2024


TestTree3 is using config 'democonfig.jti' file and this config file is being modified by the test 'Test_QSM_Save1'. Due to this modification of config file(Tools.CONFIG_NAME), the test script TestTree3.java is failing.

In test suite 'Test_QSM_Save1' is executing first and later 'TestTree' tests are getting executed. This causing the issue.

          mainFrame = new JTFrame(true);

          mainFrame.openDefaultTestSuite();
          addUsedFile(mainFrame.createWorkDirectoryInTemp());
          mainFrame.getConfiguration().load(Tools.CONFIG_NAME, true);

          TestTree tree = mainFrame.getTestTree();

-------------

Commit messages:
 - 7903761: Fixing TestTree scripts

Changes: https://git.openjdk.org/jtharness/pull/73/files
  Webrev: https://webrevs.openjdk.org/?repo=jtharness&pr=73&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903761
  Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jtharness/pull/73.diff
  Fetch: git fetch https://git.openjdk.org/jtharness.git pull/73/head:pull/73

PR: https://git.openjdk.org/jtharness/pull/73


More information about the jtharness-dev mailing list