Hi Aaron, > It seems to me that we need to figure out a way to test Hackystat with a > different timezone during the daily build.
This seems not for the time zone issue. Rather this is the sdt wrong timestamp issue stored in a different date labeled xml file. I took a look at the TimeZoneChanger class. the date validation mechanism (The part that exception was thrown in this case) only happens when the time zone change is needed. In other words, even though there exists the wrong timestamped data in the date labeled xml file, the wrong data is not checked currently. Thus the issue is not the time zone. We need to check the sdt data validity separating from the Time zone. Which means that we are supposed to check the sdt data on the server start up or in the test cases regardless of the time zone. Cheers, Takuya On Wed, 11 May 2005 17:45:29 -1000 Aaron Kagawa <[EMAIL PROTECTED]> wrote: > Hey Guys, > > I just installed Hackystat-Standard on a ikayzo server and the > TimeZoneChanger detected problems in Issue Data. See below. > > Burt: let me know if you're willing to fix the XML data. If not I will. > > It seems to me that we need to figure out a way to test Hackystat with a > different timezone during the daily build. > > A solution could be the following: > 1) Move a copy of the testdataset and other test users to a directory in > hackyBuild/build/ > 2) Create a test case in TimeZoneChanger that points the changer to that > directory and sets temporarily the timezone to something other than HST. > 3) run the TimeZoneChanger and fail the test case if a > TimeZoneChangerException occurs. > > Any comments? I'll start on this sometime soon. > > thanks, aaron > > > > 05/12 12:35:45 TimeZoneChanger: Server Time Zone = Japan Standard Time > 05/12 12:35:45 TimeZoneChanger: Changing TimeStamps in Test Data for > testdataset > 05/12 12:35:45 TimeZoneChangerException: Error processing > /home/hack/hackystat/data/users/testdataset/data/Issue/2005-03-01.xml > org.hackystat.kernel.admin.TimeZoneChangerException: The calculated offset > causes a change in day. [day(from file)=01-Mar-2005| > originalTimeStamp=1109845526655, day=03-Mar-2005, date=Thu Mar 03 19:25:26 > JST 2005 | adjustedTimeStamp=1109777126655, day=03-Mar-2005, date=Thu Mar > 03 00:25:26 JST 2005] > 05/12 12:35:45 TimeZoneChangerException: Error processing > /home/hack/hackystat/data/users/testdataset/data/Issue/2005-03-31.xml > org.hackystat.kernel.admin.TimeZoneChangerException: The calculated offset > causes a change in day. [day(from file)=31-Mar-2005| > originalTimeStamp=1112177687530, day=30-Mar-2005, date=Wed Mar 30 19:14:47 > JST 2005 | adjustedTimeStamp=1112109287530, day=30-Mar-2005, date=Wed Mar > 30 00:14:47 JST 2005] ================================ Takuya Yamashita E-mail: [EMAIL PROTECTED] ================================
