axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred Preston (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Resolved: (AXISCPP-786) UT for AxisBench never succeeds because the response file is incorrect.
Date Fri, 05 Aug 2005 11:09:36 GMT
     [ http://issues.apache.org/jira/browse/AXISCPP-786?page=all ]
     
Fred Preston resolved AXISCPP-786:
----------------------------------

    Resolution: Fixed

Changing the pattern from HH:mm:ss'Z' to HH:mm:ss'.000Z' fixed this problem...

// Create new string to be placed in response
  format.applyPattern("HH:mm:ss'.000Z'");
  String gmText = format.format(date);

> UT for AxisBench never succeeds because the response file is incorrect.
> -----------------------------------------------------------------------
>
>          Key: AXISCPP-786
>          URL: http://issues.apache.org/jira/browse/AXISCPP-786
>      Project: Axis-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Fred Preston

>
> The chunk sizes do not match the data sizes because the time field is not being regenerated
correctly.  In the actual response file, time is represented as HH:MM:SS.SSSZ.  In the uni
test response file, time is represented as HH:MM:SSZ.  Thus, everytime a time field appears
the chunk data is being decreased by 4 bytes and hence the monitor's complaint of the actual
size of the data chunk being 16 or 20, etc bytes smaller than expected is correct as the difference
is always divisable by 4 (the size of the missing bytes in the time field).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message