Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322969 - [DB] Various test suites broken due to mismatched audit support
Summary: [DB] Various test suites broken due to mismatched audit support
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.db (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Caspar D. CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-17 23:06 EDT by Caspar D. CLA
Modified: 2011-06-23 03:40 EDT (History)
2 users (show)

See Also:
stepper: review+
stefan: review+


Attachments
Stacktrace (3.22 KB, text/plain)
2010-08-17 23:07 EDT, Caspar D. CLA
no flags Details
Patch (2.54 KB, patch)
2010-08-17 23:08 EDT, Caspar D. CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Caspar D. CLA 2010-08-17 23:06:34 EDT
Test suites AllTestsDBHsqldb and AllTestsDBMysql have the problem 
that they return 'true' from hasAuditSupport(), but the RepositoryConfigs
they provide have only the default (inherited) properties, which specify: 

  props.put(Props.SUPPORTING_AUDITS, "false");

This causes an exception "AuditSupport of MappingStrategy and Store does
not match." for every test.
Comment 1 Caspar D. CLA 2010-08-17 23:07:08 EDT
Created attachment 176858 [details]
Stacktrace
Comment 2 Caspar D. CLA 2010-08-17 23:08:04 EDT
Created attachment 176859 [details]
Patch
Comment 3 Stefan Winkler CLA 2010-08-18 04:43:37 EDT
The same was true for the Derby DB some time ago. I think the introduction of branching caused a change in the default properties.

From my part: Go ahead.
Comment 4 Caspar D. CLA 2010-09-01 23:36:32 EDT
Committed to HEAD
Comment 5 Eike Stepper CLA 2011-06-23 03:40:19 EDT
Available in R20110608-1407