qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Rudyy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-6067) [Java Broker] Test BDBHAVirtualHostNodeOperationalLoggingTest.testRemoteNodeDetached fails sporadically
Date Thu, 04 Sep 2014 15:01:52 GMT

     [ https://issues.apache.org/jira/browse/QPID-6067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Rudyy updated QPID-6067:
-----------------------------
    Description: 
The log for node leaving  the group only issued when role is changed from any value other
then UNREACHABLE.


In some cases the logging message for node leaving  the group is not got captured because
test does not wait for remote node role being set into REPLICA.



{noformat}
Argument(s) are different! Wanted:

eventLogger.message(

    LogSubject does not match. Expected: [grp(/group)] , actual : [vh(/node2)/ms(BDBConfigurationStore)]
,

    Expected message does not match. Expected: HA-1006 : Left : Node : 'node2' (localhost:10001),
actual: CFG-1003 : ClosedExpected hierarchy does not match. Expected: qpid.message.highavailability.left,
actual: qpid.message.configstore.close

);

-> at org.apache.qpid.server.virtualhostnode.berkeleydb.BDBHAVirtualHostNodeOperationalLoggingTest.testRemoteNodeDetached(BDBHAVirtualHostNodeOperationalLoggingTest.java:272)

Actual invocation has different arguments:

eventLogger.message(

    org.apache.qpid.server.logging.subjects.MessageStoreLogSubject@794579f3,

    CFG-1003 : Closed

);

-> at org.apache.qpid.server.virtualhostnode.AbstractVirtualHostNode.closeConfigurationStore(AbstractVirtualHostNode.java:268)
{noformat}

  was:
The logging message for node leaving  the group is not issued 

{noformat}
Argument(s) are different! Wanted:

eventLogger.message(

    LogSubject does not match. Expected: [grp(/group)] , actual : [vh(/node2)/ms(BDBConfigurationStore)]
,

    Expected message does not match. Expected: HA-1006 : Left : Node : 'node2' (localhost:10001),
actual: CFG-1003 : ClosedExpected hierarchy does not match. Expected: qpid.message.highavailability.left,
actual: qpid.message.configstore.close

);

-> at org.apache.qpid.server.virtualhostnode.berkeleydb.BDBHAVirtualHostNodeOperationalLoggingTest.testRemoteNodeDetached(BDBHAVirtualHostNodeOperationalLoggingTest.java:272)

Actual invocation has different arguments:

eventLogger.message(

    org.apache.qpid.server.logging.subjects.MessageStoreLogSubject@794579f3,

    CFG-1003 : Closed

);

-> at org.apache.qpid.server.virtualhostnode.AbstractVirtualHostNode.closeConfigurationStore(AbstractVirtualHostNode.java:268)
{noformat}


> [Java Broker] Test BDBHAVirtualHostNodeOperationalLoggingTest.testRemoteNodeDetached
fails sporadically
> -------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6067
>                 URL: https://issues.apache.org/jira/browse/QPID-6067
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.31
>            Reporter: Alex Rudyy
>            Assignee: Keith Wall
>             Fix For: 0.31
>
>
> The log for node leaving  the group only issued when role is changed from any value other
then UNREACHABLE.
> In some cases the logging message for node leaving  the group is not got captured because
test does not wait for remote node role being set into REPLICA.
> {noformat}
> Argument(s) are different! Wanted:
> eventLogger.message(
>     LogSubject does not match. Expected: [grp(/group)] , actual : [vh(/node2)/ms(BDBConfigurationStore)]
,
>     Expected message does not match. Expected: HA-1006 : Left : Node : 'node2' (localhost:10001),
actual: CFG-1003 : ClosedExpected hierarchy does not match. Expected: qpid.message.highavailability.left,
actual: qpid.message.configstore.close
> );
> -> at org.apache.qpid.server.virtualhostnode.berkeleydb.BDBHAVirtualHostNodeOperationalLoggingTest.testRemoteNodeDetached(BDBHAVirtualHostNodeOperationalLoggingTest.java:272)
> Actual invocation has different arguments:
> eventLogger.message(
>     org.apache.qpid.server.logging.subjects.MessageStoreLogSubject@794579f3,
>     CFG-1003 : Closed
> );
> -> at org.apache.qpid.server.virtualhostnode.AbstractVirtualHostNode.closeConfigurationStore(AbstractVirtualHostNode.java:268)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message