----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47496/#review133671 -----------------------------------------------------------
Fix it, then Ship it! Looks good! Let's talk tomorrow a little be more about how we're organizing all of these integration tests. I had forgotten about this LuceneServiceImplIntegrationTest. I think the plan was to be adding integration tests like this: LuceneIndexCreationIntegrationTest LuceneIndexMaintainceIntegrationTest LuceneQueryingIntegrationTest Anyway, ship this and we can decide if we want to refactor the tests more later. geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/LuceneServiceImplIntegrationTest.java (line 337) <https://reviews.apache.org/r/47496/#comment198244> I'm actually surprised this works, since the field names are "title" and "description", not "text". - Dan Smith On May 17, 2016, 10:54 p.m., Jason Huynh wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/47496/ > ----------------------------------------------------------- > > (Updated May 17, 2016, 10:54 p.m.) > > > Review request for geode, anilkumar gingade, Barry Oglesby, nabarun nag, Dan > Smith, and xiaojian zhou. > > > Repository: geode > > > Description > ------- > > Added integration tests to test three scenarios: > 1.) the lucene indexes are not updated during an in flight transaction (begin > but before rollback or commit) > 2.) the lucene indexes are updated after a commit > 3.) the lucene indexes are not changed after a rollback > > todo: > Do we want to add a dunit test for multiple vms and threads doing > transactions? I avoided adding this test for now as I thought that was more > of a "testing the geode transaction feature" rather than testing how the > feature affects lucene. > > > Diffs > ----- > > > geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/LuceneServiceImplIntegrationTest.java > fa3392c > > Diff: https://reviews.apache.org/r/47496/diff/ > > > Testing > ------- > > > Thanks, > > Jason Huynh > >
