Yair Zaslavsky has posted comments on this change.

Change subject: core: Performance enhancement for DAO test cases
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File 
backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/BaseDAOTestCase.java
Line 99: 
Line 100:     @NotTransactional
Line 101:     @BeforeClass
Line 102:     public static void initTestCase() throws Exception {
Line 103:         if(dataSource == null) {
Ignore my comment - you're performing rollback at @AfterClass level, this will 
handle what I pointed.
I agree it should be at @After.
Line 104:             dataSource = createDataSource();
Line 105:             Connection con = dataSource.getConnection();
Line 106:             con.setAutoCommit(false);
Line 107: 


--
To view, visit http://gerrit.ovirt.org/7336
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I75afb85ba154808cd3254a1310e0350e6c4279fa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shireesh Anjal <san...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkole...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to