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

Golla Yadav duke at openjdk.org
Thu Jul 4 12:54:51 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: Modified/Updated Test scripts

Changes: https://git.openjdk.org/jtharness/pull/74/files
  Webrev: https://webrevs.openjdk.org/?repo=jtharness&pr=74&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/74.diff
  Fetch: git fetch https://git.openjdk.org/jtharness.git pull/74/head:pull/74

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


More information about the jtharness-dev mailing list