Skip to content

Commit 8be6749

Browse files
committed
caching back derbydb and adding a prop to reset dml cache marker
1 parent 1e783c0 commit 8be6749

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

derbydb.zip

27.3 KB
Binary file not shown.

runtests

+6-2
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ processOptions() {
163163
appendArgs "-Djaxrs=true"
164164
;;
165165

166+
--reset-persistence)
167+
appendArgs "-Dreset.persistence=true"
168+
;;
169+
166170
--interop)
167171
appendArgs "-Dinterop=true"
168172
;;
@@ -250,8 +254,8 @@ case "$web" in
250254
esac
251255

252256
rm -fr derbydb
253-
#unzip -q derbydb.zip
254-
#sql=skip
257+
unzip -q derbydb.zip
258+
sql=skip
255259

256260
# Append options if any
257261
if [ "x$options" != "x" ]; then

src/test/script/openejb/tck/commands/SetupCommand.groovy

+3-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,9 @@ class SetupCommand
353353
//
354354
// Process the dml for derby just once if it hasn't already been done
355355
def dmlProcessedFile = new File("${javaeeCtsHome}/dml_processed")
356-
dmlProcessedFile.delete() // force regeneration for now
356+
if (get("reset.persistence").equals('true')) {
357+
dmlProcessedFile.delete()
358+
}
357359
if (!dmlProcessedFile.exists()) {
358360
log.info("Processing DML for Derby")
359361

0 commit comments

Comments
 (0)