Skip to content

Commit

Permalink
Updated functional test to allow 'cqengine.skip.slow.scenarios' to be…
Browse files Browse the repository at this point in the history
… specified as environment variable
  • Loading branch information
npgall committed Sep 15, 2018
1 parent 88fe515 commit 1ed900c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ public class IndexedCollectionFunctionalTest {
// Note: Unfortunately ObjectLockingIndexedCollection can slow down the functional test a lot when
// disk indexes are in use (because it splits bulk inserts into a separate transaction per object).
// Set this true to skip the slow scenarios *during development only!*...
static final boolean SKIP_SLOW_SCENARIOS = Boolean.valueOf(System.getProperty("cqengine.skip.slow.scenarios", "false"));
static final boolean SKIP_SLOW_SCENARIOS =
"true".equalsIgnoreCase(System.getProperty("cqengine.skip.slow.scenarios")) // system property
|| "true".equalsIgnoreCase(System.getenv("cqengine_skip_slow_scenarios")); // environment variable

static final boolean RUN_HIGH_PRIORITY_SCENARIOS_ONLY = false;

Expand Down

0 comments on commit 1ed900c

Please sign in to comment.