This repository was archived by the owner on Nov 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
main/nucleus/tests/admin/src/test/java/org/glassfish/nucleus/admin/progress Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ public void cleanUp() throws Exception {
7070 nadmin ("stop-domain" );
7171 JobManagerTest .deleteJobsFile ();
7272 //osgi-cache workaround
73- touchDirectory (nucleusRoot );
73+ File osgiCacheDir = new File (nucleusRoot , "domains" +File .separator +"domain1" +File .separator +"osgi-cache" );
74+ deleteDirectoryContents (osgiCacheDir );
7475 nadmin ("start-domain" );
7576 }
7677
Original file line number Diff line number Diff line change @@ -66,7 +66,8 @@ public void setUp() throws Exception {
6666 //delete jobs.xml incase there were other jobs run
6767 deleteJobsFile ();
6868 //osgi-cache workaround
69- touchDirectory (nucleusRoot );
69+ File osgiCacheDir = new File (nucleusRoot , "domains" +File .separator +"domain1" +File .separator +"osgi-cache" );
70+ deleteDirectoryContents (osgiCacheDir );
7071 nadmin ("start-domain" );
7172
7273
@@ -148,7 +149,7 @@ public void runDetachTest() {
148149
149150 }
150151
151- @ Test (dependsOnMethods = { "runDetachTest" }, enabled =true )
152+ @ Test (dependsOnMethods = { "runDetachTest" }, enabled =false )
152153 public void runConfigureManagedJobsTest () throws InterruptedException {
153154 try {
154155 String result = null ;
You can’t perform that action at this time.
0 commit comments