Hi Pramod, Amir,

Thank you for the example as a patch!

On Tue, 2008-03-04 at 10:11 +0530, Amir Nagri wrote:
> Pramod and I tested the unit test which we sent to
> mifos-developer-list on Windows with MySQL Server 5.0. The test was
> failing for MySQL ConnectorJ 5 but was passing for ConnectorJ 3.

I just tried this patch on Windows XP/Sun Java 5/Eclipse against MySQL
5.0.51a. testSaveAndRetrieveMeetingsForGivenDate() succeeded, but
testSaveAndRetrieveMeetingsForGivenPlace() failed. So, it sounds like
maybe the date comparison is actually working, but the other test method
might be having a problem?

The assertion that fails is on line 35 of the test class: "expected: <1>
but was: <39>".

> Probably this may be specific to Windows version of driver. 

The driver is pure Java, so the same bytecode is used on every platform.

A few thoughts:
* anyone else on Windows seeing problems with the new driver?
* might be good to read up on this:
http://dev.mysql.com/doc/refman/5.0/en/connector-j-installing-upgrading.html to 
see if you are being affected by any driver-version-specific issues
* MySQL support is great; I highly recommend their mailing list and IRC
channel

-- 
Adam Monsen


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to