Integrated: 8285878: [TestBug] LocalStorageTest and UserDataDirectoryTest don't always cleanup data dirs

Jay Bhaskar jbhaskar at openjdk.org
Fri Apr 21 01:19:51 UTC 2023


On Wed, 19 Apr 2023 13:25:07 GMT, Jay Bhaskar <jbhaskar at openjdk.org> wrote:

> Issue: "LocalStorageTest and UserDataDirectoryTest don't always cleanup data dirs"
> Solution:
> 1. All data directories must only be created under the "build" dir. In addition to being a best practice, at least they will be cleaned up by "gradle clean"
> 2. There should be an @AfterClass method that deletes the data dirs
> 3. There should be an @BeforeClass method that also deletes the data dirs prior to running the tests in case it wasn't cleaned up previously

This pull request has now been integrated.

Changeset: 48b5fea3
Author:    Jay Bhaskar <jbhaskar at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/48b5fea374666c0930a9c861e8e202f6e3daaed1
Stats:     22 lines in 2 files changed: 15 ins; 3 del; 4 mod

8285878: [TestBug] LocalStorageTest and UserDataDirectoryTest don't always cleanup data dirs

Reviewed-by: kcr

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

PR: https://git.openjdk.org/jfx/pull/1100


More information about the openjfx-dev mailing list