[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster-devel] c++ test cases (Michele)
Hi,
Here is the log
WARN TestFailsafe the embedded server is switched OFF (you will need an
externa
l xmlBlaster running), sleeping for 2 sec now ...
INFO TestFailsafe connecting to xmlBlaster. Connect qos:
<qos>
<securityService type="htpasswd" version="1.0">
<![CDATA[
<user>guy</user>
<passwd>secret</passwd>
]]>
</securityService>
<ptp>true</ptp>
<duplicateUpdates>false</duplicateUpdates><session name='client/guy/-1'
timeo
ut='86400000' maxSessions='10' clearSessions='false'/>
<!-- QueuePropertyBase -->
<queue relating='callback' storeSwapLevel='1468006'
storeSwapBytes='524288' r
eloadSwapLevel='629145' reloadSwapBytes='524288'/>
</qos>
INFO CorbaConnection Initializing CORBA ORB
INFO XmlBlasterAccess-client/guest/-1 Callback settings: type=CACHE
onOverflow=
deadMessage onFailure=deadMessage maxMsg=1000 type=IOR oneway=false
burstMode.co
llectTime=0
INFO CorbaConnection Accessing xmlBlaster using -hostname 203.14.50.118
INFO ConnectionsHandler-00F98468 successfully connected with sessionId =
'IIOP:
001111190E383F0A013E05'
INFO TestFailsafe reconnected
WARN Timeout The timeout is empty
INFO TestFailsafe successfully connected to xmlBlaster. Return qos:
<qos>
<securityService type="htpasswd" version="1.0">
<![CDATA[
<user>guy</user>
<passwd>secret</passwd>
]]>
</securityService>
<ptp>false</ptp>
<duplicateUpdates>false</duplicateUpdates><session
name='/node/http_203_14_50
_118_3412/client/guy/-2' timeout='86400000' maxSessions='10'
clearSessions='fals
e' sessionId='IIOP:001111190E383F0A013E05'/>
<!-- QueuePropertyBase -->
<queue relating='client' maxMsg='10000000' storeSwapLevel='1468006'
storeSwap
Bytes='524288' reloadSwapLevel='629145' reloadSwapBytes='524288'>
<address type='IOR' hostname='203.14.50.118' dispatchPlugin='undef'>
http://203.14.50.118:3412
</address>
</queue>
<!-- QueuePropertyBase -->
<queue relating='callback' storeSwapLevel='1468006'
storeSwapBytes='524288' r
eloadSwapLevel='629145' reloadSwapBytes='524288'>
<callback type='IOR' hostname='203.14.50.118' dispatchPlugin='undef'>
IOR:010000004000000049444c3a6f72672e786d6c426c61737465722e70726f746f636
f6c2e636f7262612f636c69656e7449646c2f426c617374657243616c6c6261636b3a312e300
0010
000000000000068000000010102cd0e0000003230332e31342e35302e313138004c081b00000
0140
10f00525354aed46b3ef1960500000000000100000001000000cd02000000000000000800000
001c
dcdcd004f4154010000001400000001cdcdcd01000100000000000901010000000000
</callback>
</queue>
<serverRef type='IOR'>
IOR:000000000000003749444c3a6f72672e786d6c426c61737465722e70726f746f636f6c
2e636f7262612f73657276657249646c2f5365727665723a312e300000000000030000000000
0000
47000100000000000e3230332e31342e35302e31313800083e0000002b5374616e6461726449
6d70
6c4e616d652f786d6c426c61737465722d504f412f001111190e383f0a013e05000000000000
0000
4c000101500000000e3230332e31342e35302e31313800083e0000002b5374616e6461726449
6d70
6c4e616d652f786d6c426c61737465722d504f412f001111190e383f0a013e05650000000000
0000
010000002c0000000000000001000000010000001c0000000000010001000000010501000100
0101
090000000105010001
</serverRef>
</qos>
INFO TestFailsafe subscribing to xmlBlaster with key: <key
oid='TestFailsafe
'></key> and qos: <qos> <erase forceDestroy='false'/> </qos>
INFO TestFailsafe successfully subscribed to xmlBlaster. Return qos:
<qos>
<subscribe id='__subId:2'/> </qos>
INFO TestFailsafe testReconnect START
INFO TestFailsafe erasing the published message. Key: <key
oid='TestFailsafe
'></key> qos: <qos> <erase forceDestroy='false'/> </qos>
INFO TestFailsafe successfully erased the message. return qos: <qos>
<key
oid='TestFailsafe'/> </qos>
INFO TestFailsafe plase stop the server (I will wait 20 seconds)
WARN Timeout The timeout is empty
INFO TestFailsafe the communication is now down: ready to start the tests
INFO XmlBlasterAccess-/node/http_203_14_50_118_3412/client/guy/-2 Callback
sett
ings: type=CACHE onOverflow=deadMessage onFailure=deadMessage maxMsg=1000
type=I
OR oneway=false burstMode.collectTime=0
WARN CorbaConnection Connecting to -hostname=203.14.50.118 failed
INFO CorbaConnection Retrieved NameService context xmlBlaster.MOM
INFO TestFailsafe reconnecting when communication down and not giving
positive
publicSessionId: exception must be thrown OK
WARN CorbaConnection Connecting to -hostname=203.14.50.118 failed
INFO CorbaConnection Retrieved NameService context xmlBlaster.MOM
INFO TestFailsafe reconnecting for the second time when communication down
and
not giving positive publicSessionId: exception must be thrown (again) OK
WARN CorbaConnection Connecting to -hostname=203.14.50.118 failed
INFO CorbaConnection Retrieved NameService context xmlBlaster.MOM
ERROR TestFailsafe reconnecting when communication down and giving positive
publ
icSessionId: no exception expected FAILED: value is 1' but should be '0'
Assertion failed: 0, file c:\blaster\blaster\testsuite.h, line 37
//--------------------------------------------------------------------------
----------
This exception is caught at line 156.
catch (XmlBlasterException &ex) {
wentInException = true;
}
assertEquals(log_, ME, false, wentInException,
"reconnecting when communication down and giving positive
publicSessionId: no exception expected");
**** parameter 3 should be true perhaps ****
//--------------------------------------------------------------------------
---------
Below is the ex (please ignore vc7 inability to display a std::string
correctly
I'm told the next version will have it fixed, shhhesh!)
- ex {...} org::xmlBlaster::util::XmlBlasterException &
- errorCodeStr_ {0x0012cf14 "õþ"} const
std::basic_string<char,std::char_traits<char>,std::allocator<char> >
+ std::_String_val<char,std::allocator<char> > {...}
std::_String_val<char,std::allocator<char> >
- _Bx {...}
std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Bxty
+ _Buf 0x0012cf14 "õþ" char [16]
+ _Ptr 0x00fef518 "internal.unknown" char * <<== **** THIS IS THE EXCEPTION
STRING ***
_Mysize 16 unsigned int
_Myres 31 unsigned int
+ node_ {0x0012cf30 "unknown node"} const
std::basic_string<char,std::char_traits<char>,std::allocator<char> >
+ location_ {0x0012cf4c "áý"} const
std::basic_string<char,std::char_traits<char>,std::allocator<char> >
+ lang_ {0x0012cf68 "en"} const
std::basic_string<char,std::char_traits<char>,std::allocator<char> >
+ message_ {0x0012cf84 " at ëþ"} const
std::basic_string<char,std::char_traits<char>,std::allocator<char> >
+ versionInfo_ {0x0012cfa0 "client-c++"} const
std::basic_string<char,std::char_traits<char>,std::allocator<char> >
+ timestamp_ {0x0012cfbc ""}
std::basic_string<char,std::char_traits<char>,std::allocator<char> >
+ stackTrace_ {0x0012cfd8 "0µÌÌÌÌÌÌÌÌÌÌÌÌ&"}
std::basic_string<char,std::char_traits<char>,std::allocator<char> >
- embeddedMessage_ {0x0012cff4 "ðëþ"}
std::basic_string<char,std::char_traits<char>,std::allocator<char> >
+ std::_String_val<char,std::allocator<char> > {...}
std::_String_val<char,std::allocator<char> >
- _Bx {...}
std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Bxty
+ _Buf 0x0012cff4 "ðëþ" char [16]
+ _Ptr 0x00feebf0 "Original errorCode=internal.unknown" char *
_Mysize 35 unsigned int
_Myres 47 unsigned int
+ transactionInfo_ {0x0012d010 "`ìþ"} const
std::basic_string<char,std::char_traits<char>,std::allocator<char> >