| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802628 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
be excluded due to the way we stop test brokers.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802627 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
sizes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802625 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802128 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
AbstractTestLogging so that DerbyMessageStore can use it to filter out all the items created in the test vhost.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802123 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
specific to this test
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802122 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
case as the durable store is not cleared between tests so subsequent tests performing a queue create will not see a queue declare if the same name is used in all test cases.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802121 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802120 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
augmented QpidTestCase and build profiles to take a new broker.stopped search value. If this appears in the log output during the external broker startup and the broker does not report ready then the startup will report the line of text associated with the exception as part of the failure. Currently the stopped value is set to to 'Exception'. This means if an exception occurs during startup then test will give more detail about the cause of the failure. This is only monitored during the brokerStart() call and through the getStopLine() call on the Piper we can return the line of text that the Exception matched. Providing more details of why a broker failed to startup. This extra detail is currently added to the exception thrown when the broker fails to become ready.
Added test.mport to profile for defaulting management port
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802118 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
shutdown when it fails to startup in the allotted time.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802117 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
previously. The current method can result in data log data loss and test failures.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802116 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
persistent stores
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802113 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802112 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802111 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
is not guarranteed
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801906 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801904 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
logged messages when that situation occurs. Rather than -1 index exceptions. Update to BrokerLoggingTest to ensure it is monitoring the right file.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801728 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
close logging on the Subscription Flush thread. Alternative would be to create a Virtualhost Logger.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801725 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801723 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801722 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801720 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
exclusive flag on setQueue
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801719 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
only has data from test run
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801718 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
improved logging. Value should be retained in the Subscription for MC display
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801715 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
file
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801713 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
ChannelCloseTest is failing in the java test profile. This is because this is an InVM only test. This commit ensures it only runs on an InVM test run
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801578 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
local testing was running out of file descriptors. Also removed lookup of environment-path from the configuration file as not all the profiles have the environment-path set, check is purely to ensure there is a value there.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801577 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
excluded due to QPID-2031. An update to the LogMessages.vm templates and ApplicationRegistry was requried. This is because BrokerMessages is loaded before the ApplicationRegistry is initialised. As a result the NullApplicationRegistry is created which should not be used. The AR is loaded to discover the current Locale. There were a couple of options here. Either always use the Default Locale and have the AR loading set that or add the ability to check if the AR has been configured. I chose the latter as knowing if an AR exists may be useful for our testing framework.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801575 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
the VM state after their test run. Updated all tests to use the default AR,getInstance() before creation of a TransportConnection (which now uses AR.DEFAULT_INSTANCE rather than '1'). On shutdown updated to ensure AR.remove() is called and not just AR.close()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801574 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
logging just yet as its approach to recovery does not provide the requried details.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801572 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
for more accurate testing of log messages
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801569 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
SystemOutMessageLogger until we have loaded the main configuration and then re-initialise with that configuration
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801567 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801564 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
removing the ApplicationRegistry they create.
The biggest offenders are the broker tests which are not pure unit tests.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801561 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
rest of the helper methods
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801556 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
from the CPP broker
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800439 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
reordering of connection closure during negotiation.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800376 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
the string starting "MESSAGE....."
This ensures that the LoggingTests are parsing the logged message and not erroneously picking up a section based on the log4j format configuration. i.e. the [qpid.message] logger name was causing issues with searching for the first '[' to get Subject/Actor
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800375 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Abstract parent
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800370 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800369 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800368 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800364 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800359 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
corrected failures in test.
Failures corrected by:
- Ensuring message count is as expected after first publication
- Validating that the max count alert level is correctly changed (when InVM)
- Validate that the log file does not contain alerts after restart
- Validate that alerting occurs after extra messages have been published
- Modified QPID_WORK (using QTC.setSystemProperty so it is only set for that test run) to ensure each test has a clean store.
Additions to QpidTestCase:
- Ability to enable persistence on a given virtualhost. Currently it tries to set the JBoss BerkelyDB store failing back to Qpid's DerbyDB store.
- Ability to set properties in the configuration file, this involves re-writting the config files so that both inVM and external java brokers will correctly function with the desired configuration.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800356 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
occur as expected.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800354 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
and where new exclusions should go; this also corrects the exclusion lists for some of the less common profiles since they now always include the 010Excludes which previously had to be manually copied to the other 010 profiles
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@798246 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
of logging as part of providing fixed log messages
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@796799 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
and so renamed method getStatusUpdatesEnabled
Ensured tested in ServerConfiguration[File]Test and removed standalone test that replicated functionality.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@796798 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
ServerconfigurationTest
Added ServerConfigurationFileTest that verifies the string value is loadable from the systest config file.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@796796 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provided static CurrentActor for accessing ThreadLocal.
Included Test to validate setting of ThreadLocals.
Added Test for AMQPActor
Added getRootMessageLogger() to IApplicationRegistry
Adjusted *ProtocolSessions to start counting at 0.
Allowed Setting of Vhost on the MockProtocolSession
Created a fixed Principle in MockProtocolSession
Changes to MockProtocolSession, prevent NPEs when the AMQPActor creates its log string.
Converted CurrentActor to use a Stack allowing a variety of actors to take their turn on a thread.
Improved package structure
Added testing for Actors
Moved FileMonitorTools functionality to FileUtils and provided a Test
Converted Log4jMessageLoggerTest to a proper UnitTest
Moved Test cases to test package
Updated other broker tests to set the authenticated user before setting the virtualhost,
Whilst the logging could output null as the username it would be better if the tests correctly set the authorizedID.
Update to include tests for disabled logging
Fully tested LogSubjects
Updated MockAMQQueue to be able to take a Virtualhost as per a normal Queue.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@796650 13f79535-47bb-0310-9956-ffa450edef68
|