uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Help test UIMA SDK 2.7.0
Date Fri, 21 Nov 2014 16:03:13 GMT
Hi,

If you can, please help test the new 2.7.0-SNAPSHOT, by building from trunk. 
When you do test runs, please add the JVM param

-Duima.check_invalid_fs_updates

to activate the new check to see if code is potentially corrupting any UIMA index.
This activates a new kind of check that checks all modifications to features to
see if that feature is
  being used as a key in a Sort or Set index, and the Feature Structure being
modified is currently in
  one or more indices (Jira issue UIMA-4059). Doing such a modification can
cause the index to become corrupt. 
  (The correct way   to do an update in this case is to
    first remove the Feature Structure from the indices,
    do the modification,
    and then add it back to the indices.)

It is somewhat likely that old code may start failing, due to this test, and due
to the stricter enforcement of correct Sofa references for adding subtypes of
AnnotationBase to the right view.

Currently, the JUnit tests pass, but several of these needed fixing due to this
increased checking.

I plan to write a few more unit tests to test the new deserialization of delta
CASes updating existing FSs (to insure indexed item updates don't corrupt indices).

-M

Mime
View raw message