hi oleg,
i can only comment 3.)
> 3) Several errors "Object has been modified by someone else"
> I am not yet familiar with locking stuff, so could somebody look into
this?
in this test an OptimisticLockException has to be thrown if everything is
ok, but to avoid confusion it probably should not show up in the console.
regards,
jakob
----- Original Message -----
From: "Oleg Nitz" <on...@uk...>
To: <obj...@so...>
Sent: Tuesday, May 28, 2002 1:00 AM
Subject: [OJB-developers] Let's fix the testsuite!
> Hi!
>
> I decided to investigate why "build junit" output looks so bad,
> since this makes me nervous :)
> BTW "build junit2" output is even worse on the second run.
> Here's what I found:
> 1) Several messages
> ERROR: Ignoring unknown Element orderby
> that are not counted as errors, this is probably due to changes in syntax
of
> repository.xml
>
> 2) A bunch of exceptions like
> java.sql.SQLException: Violation of unique index in statement [INSERT INTO
> PERSON_PROJECT (PROJECT_ID,PERSON_ID) VALUES (1,1)]
> They are not counted as errors, but they makes impression that something
goes
> wrong. Actually this is just a way how OJB stores M:N relations: it tries
to
> insert all records into an indirection table and ignores SQL exceptions
> telling that the record exists, see
> PersistenceBrokerImpl.storeMtoNImplementor()
> But JdbcAccess.executeUpdateSQL() logs these exceptions at ERROR level.
> Something should be changed here.
> Of course it would be better to insert only new records and not to ignore
SQL
> exceptions.
> But maybe there are some problems with this?
> BTW I wonder if the current algorithm works when some link between Persons
> and Projects is removed.
>
> 3) Several errors "Object has been modified by someone else"
> I am not yet familiar with locking stuff, so could somebody look into
this?
>
> 4) Table not found: ELVIS
> I found this name in OdmgExamples.testBrokerCrash()
> so I don't know if this error is expected, but there are 3 failures and
> 1 error for ODMG tests, and I don't see other error messages.
>
> 5) AssertionFailedError in
SodaExamples.testWithFakedQueryPreEmptUnlimited()
> Any comments?
>
> Thanks in advance,
> Oleg
>
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> Objectbridge-developers mailing list
> Obj...@li...
> https://lists.sourceforge.net/lists/listinfo/objectbridge-developers
>
|