diff options
| author | Robert Gemmell <robbie@apache.org> | 2009-08-17 22:28:01 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2009-08-17 22:28:01 +0000 |
| commit | d2a98d4dfc63fd606418f5bd433be514bbe20d01 (patch) | |
| tree | 7bc30cafe91f9c9e8f5c749502f052b3c68f0c24 /qpid/java/broker/src/test | |
| parent | 37be358e76234f085ff5d6527acea5499e43cb12 (diff) | |
| download | qpid-python-d2a98d4dfc63fd606418f5bd433be514bbe20d01.tar.gz | |
QPID-2051: relax the parser validation to only halt startup on fatal-errors in the xml file, and relax the level-check to allow undefined system properties. Move the Log4J initialisation override inside Main instead of the startup scripts, and have it check for -Dlog4j.configuration first before engaging.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@805188 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker/src/test')
| -rw-r--r-- | qpid/java/broker/src/test/java/org/apache/log4j/xml/QpidLog4JConfiguratorTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/broker/src/test/java/org/apache/log4j/xml/QpidLog4JConfiguratorTest.java b/qpid/java/broker/src/test/java/org/apache/log4j/xml/QpidLog4JConfiguratorTest.java index 643f1fa48e..9f350033d6 100644 --- a/qpid/java/broker/src/test/java/org/apache/log4j/xml/QpidLog4JConfiguratorTest.java +++ b/qpid/java/broker/src/test/java/org/apache/log4j/xml/QpidLog4JConfiguratorTest.java @@ -386,11 +386,11 @@ public class QpidLog4JConfiguratorTest extends TestCase } catch (IllegalLoggerLevelException e) { - fail("Incorrect Exception, expected an IOException"); + //expected, ignore } catch (IOException e) { - //expected, ignore + fail("Incorrect Exception, expected an IllegalLoggerLevelException"); } } } |
