From 79022965a3a3aa33bd95357e5234ade9500e745c Mon Sep 17 00:00:00 2001 From: jakubs <jakubs> Date: Fri, 3 Feb 2012 15:33:41 +0000 Subject: [PATCH] LMS-2767 Let the tests use original prestaging behavior for now SVN: 24340 --- .../java/ch/systemsx/cisd/etlserver/ThreadParameters.java | 2 +- .../registrator/AbstractJythonDataSetHandlerTest.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/datastore_server/source/java/ch/systemsx/cisd/etlserver/ThreadParameters.java b/datastore_server/source/java/ch/systemsx/cisd/etlserver/ThreadParameters.java index aedcc3858a0..932694497ee 100644 --- a/datastore_server/source/java/ch/systemsx/cisd/etlserver/ThreadParameters.java +++ b/datastore_server/source/java/ch/systemsx/cisd/etlserver/ThreadParameters.java @@ -94,7 +94,7 @@ public final class ThreadParameters @Private public static final String ON_ERROR_DECISION_KEY = "on-error-decision"; - private static final String DATASET_REGISTRATION_PRE_STAGING_BEHAVIOR = + public static final String DATASET_REGISTRATION_PRE_STAGING_BEHAVIOR = "dataset-registration-prestaging-behavior"; diff --git a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/AbstractJythonDataSetHandlerTest.java b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/AbstractJythonDataSetHandlerTest.java index 1343ae86001..fc0a5c32233 100644 --- a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/AbstractJythonDataSetHandlerTest.java +++ b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/AbstractJythonDataSetHandlerTest.java @@ -252,6 +252,9 @@ public abstract class AbstractJythonDataSetHandlerTest extends AbstractFileSyste } threadProperties.setProperty(DataSetRegistrationService.STAGING_DIR, stagingDirectory.getPath()); + + threadProperties.put(ThreadParameters.DATASET_REGISTRATION_PRE_STAGING_BEHAVIOR, "use_original"); + return threadProperties; } -- GitLab