You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org> on 2005/05/13 19:15:35 UTC

[jira] Created: (BEEHIVE-723) JdbcControl date tests don't work outside of MST

JdbcControl date tests don't work outside of MST
------------------------------------------------

         Key: BEEHIVE-723
         URL: http://issues.apache.org/jira/browse/BEEHIVE-723
     Project: Beehive
        Type: Bug
  Components: Controls  
    Versions: V1    
    Reporter: Eddie O'Neil
     Fix For: TBD


In SVN 169934, two JdbcControl tests were disabled.  These tests do a comparison on date values retrieved from the database, but they expect that the tests are run in MST.  For example:

-        assertEquals("Wed Feb 23 00:00:00 MST 2005", d.toString());
+ // We may not be MST, assertion is commented out.       assertEquals("Wed Feb 23 00:00:00 MST 2005", d.toString());

This issue tracks having them turned back on just so it isn't forgotten to do so.

:)



-- 
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


[jira] Updated: (BEEHIVE-723) JdbcControl date tests don't work outside of MST

Posted by "Chad Schoettger (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-723?page=all ]

Chad Schoettger updated BEEHIVE-723:
------------------------------------

    Attachment: BEEHIVE-723.diff

fix for the date and timestamp drts.  Modified to return java.sql.Date and java.sql.Timestamp instead of java.util.Date.

> JdbcControl date tests don't work outside of MST
> ------------------------------------------------
>
>          Key: BEEHIVE-723
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-723
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: Eddie O'Neil
>      Fix For: TBD
>  Attachments: BEEHIVE-723.diff
>
> In SVN 169934, two JdbcControl tests were disabled.  These tests do a comparison on date values retrieved from the database, but they expect that the tests are run in MST.  For example:
> -        assertEquals("Wed Feb 23 00:00:00 MST 2005", d.toString());
> + // We may not be MST, assertion is commented out.       assertEquals("Wed Feb 23 00:00:00 MST 2005", d.toString());
> This issue tracks having them turned back on just so it isn't forgotten to do so.
> :)

-- 
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


[jira] Updated: (BEEHIVE-723) JdbcControl date tests don't work outside of MST

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-723?page=all ]

Eddie O'Neil updated BEEHIVE-723:
---------------------------------

      Component: System Controls
                     (was: Controls)
    Description: 
In SVN 169934, two JdbcControl tests were disabled.  These tests do a comparison on date values retrieved from the database, but they expect that the tests are run in MST.  For example:

-        assertEquals("Wed Feb 23 00:00:00 MST 2005", d.toString());
+ // We may not be MST, assertion is commented out.       assertEquals("Wed Feb 23 00:00:00 MST 2005", d.toString());

This issue tracks having them turned back on just so it isn't forgotten to do so.

:)



  was:
In SVN 169934, two JdbcControl tests were disabled.  These tests do a comparison on date values retrieved from the database, but they expect that the tests are run in MST.  For example:

-        assertEquals("Wed Feb 23 00:00:00 MST 2005", d.toString());
+ // We may not be MST, assertion is commented out.       assertEquals("Wed Feb 23 00:00:00 MST 2005", d.toString());

This issue tracks having them turned back on just so it isn't forgotten to do so.

:)



    Environment: 

Changing the component to 'system controls'.

> JdbcControl date tests don't work outside of MST
> ------------------------------------------------
>
>          Key: BEEHIVE-723
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-723
>      Project: Beehive
>         Type: Bug
>   Components: System Controls
>     Versions: v1m1
>     Reporter: Eddie O'Neil
>      Fix For: TBD
>  Attachments: BEEHIVE-723.diff
>
> In SVN 169934, two JdbcControl tests were disabled.  These tests do a comparison on date values retrieved from the database, but they expect that the tests are run in MST.  For example:
> -        assertEquals("Wed Feb 23 00:00:00 MST 2005", d.toString());
> + // We may not be MST, assertion is commented out.       assertEquals("Wed Feb 23 00:00:00 MST 2005", d.toString());
> This issue tracks having them turned back on just so it isn't forgotten to do so.
> :)

-- 
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