summaryrefslogtreecommitdiff
path: root/qpid/java/broker/src/test
diff options
context:
space:
mode:
authorAlex Rudyy <orudyy@apache.org>2013-03-29 13:26:35 +0000
committerAlex Rudyy <orudyy@apache.org>2013-03-29 13:26:35 +0000
commit9f22988ff2d01008ea0cd97d1b2fb8cb8bce96a1 (patch)
tree1b95ccf2e58f2ae3eb0dcc16b5cfe648791eec4e /qpid/java/broker/src/test
parent39c88de12e76fc3555c60c95a56183ac1603d0ef (diff)
downloadqpid-python-9f22988ff2d01008ea0cd97d1b2fb8cb8bce96a1.tar.gz
QPID-4677: Fix incorrect attribute names and update web management console UI affected by the changes in the attribute names
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1462471 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker/src/test')
-rw-r--r--qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/startup/BrokerRecovererTest.java4
-rw-r--r--qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/store/ConfigurationEntryStoreTestCase.java8
2 files changed, 6 insertions, 6 deletions
diff --git a/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/startup/BrokerRecovererTest.java b/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/startup/BrokerRecovererTest.java
index 79dcf0cac4..facd4e63ef 100644
--- a/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/startup/BrokerRecovererTest.java
+++ b/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/startup/BrokerRecovererTest.java
@@ -91,8 +91,8 @@ public class BrokerRecovererTest extends TestCase
attributes.put(Broker.DEFAULT_VIRTUAL_HOST, "test");
attributes.put(Broker.DEFAULT_AUTHENTICATION_PROVIDER, "authenticationProvider1");
attributes.put(Broker.ALERT_THRESHOLD_MESSAGE_AGE, 9l);
- attributes.put(Broker.ALERT_THRESHOLD_MESSAGE_COUNT, 8l);
- attributes.put(Broker.ALERT_THRESHOLD_QUEUE_DEPTH, 7l);
+ attributes.put(Broker.ALERT_THRESHOLD_QUEUE_DEPTH_MESSAGES, 8l);
+ attributes.put(Broker.ALERT_THRESHOLD_QUEUE_DEPTH_BYTES, 7l);
attributes.put(Broker.ALERT_THRESHOLD_MESSAGE_SIZE, 6l);
attributes.put(Broker.ALERT_REPEAT_GAP, 5l);
attributes.put(Broker.FLOW_CONTROL_SIZE_BYTES, 5l);
diff --git a/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/store/ConfigurationEntryStoreTestCase.java b/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/store/ConfigurationEntryStoreTestCase.java
index 9d7f6a9cc1..013daefce4 100644
--- a/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/store/ConfigurationEntryStoreTestCase.java
+++ b/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/store/ConfigurationEntryStoreTestCase.java
@@ -62,8 +62,8 @@ public abstract class ConfigurationEntryStoreTestCase extends QpidTestCase
_brokerAttributes.put(Broker.DEFAULT_VIRTUAL_HOST, "test");
_brokerAttributes.put(Broker.DEFAULT_AUTHENTICATION_PROVIDER, "authenticationProvider1");
_brokerAttributes.put(Broker.ALERT_THRESHOLD_MESSAGE_AGE, 9);
- _brokerAttributes.put(Broker.ALERT_THRESHOLD_MESSAGE_COUNT, 8);
- _brokerAttributes.put(Broker.ALERT_THRESHOLD_QUEUE_DEPTH, 7);
+ _brokerAttributes.put(Broker.ALERT_THRESHOLD_QUEUE_DEPTH_MESSAGES, 8);
+ _brokerAttributes.put(Broker.ALERT_THRESHOLD_QUEUE_DEPTH_BYTES, 7);
_brokerAttributes.put(Broker.ALERT_THRESHOLD_MESSAGE_SIZE, 6);
_brokerAttributes.put(Broker.ALERT_REPEAT_GAP, 5);
_brokerAttributes.put(Broker.FLOW_CONTROL_SIZE_BYTES, 5);
@@ -173,8 +173,8 @@ public abstract class ConfigurationEntryStoreTestCase extends QpidTestCase
attributes.put(Broker.DEFAULT_VIRTUAL_HOST, "test");
attributes.put(Broker.DEFAULT_AUTHENTICATION_PROVIDER, "authenticationProvider1");
attributes.put(Broker.ALERT_THRESHOLD_MESSAGE_AGE, 19);
- attributes.put(Broker.ALERT_THRESHOLD_MESSAGE_COUNT, 18);
- attributes.put(Broker.ALERT_THRESHOLD_QUEUE_DEPTH, 17);
+ attributes.put(Broker.ALERT_THRESHOLD_QUEUE_DEPTH_MESSAGES, 18);
+ attributes.put(Broker.ALERT_THRESHOLD_QUEUE_DEPTH_BYTES, 17);
attributes.put(Broker.ALERT_THRESHOLD_MESSAGE_SIZE, 16);
attributes.put(Broker.ALERT_REPEAT_GAP, 15);
attributes.put(Broker.FLOW_CONTROL_SIZE_BYTES, 15);