HHH-9781 : Backport unit test change

This commit is contained in:
Gail Badner 2015-05-11 22:37:56 -07:00
parent d9ba5502e2
commit c5579a4640
1 changed files with 3 additions and 2 deletions

View File

@ -143,10 +143,11 @@ public class BulkOperationsTestCase extends BaseCoreFunctionalTestCase {
List<Integer> updated = getContactsByTLF( "Updated" ); List<Integer> updated = getContactsByTLF( "Updated" );
assertNotNull( "Got updated contacts", updated ); assertNotNull( "Got updated contacts", updated );
assertEquals( "Updated contacts", 5, updated.size() ); assertEquals("Updated contacts", 5, updated.size());
assertEquals( 10, contactSlcs.getElementCountInMemory() );
updateContactsWithOneManual( "Kabir", "UpdatedAgain" ); updateContactsWithOneManual( "Kabir", "UpdatedAgain" );
assertEquals( contactSlcs.getElementCountInMemory(), 0 ); assertEquals( 0, contactSlcs.getElementCountInMemory());
for ( Integer id : jbContacts ) { for ( Integer id : jbContacts ) {
Contact contact = getContact( id ); Contact contact = getContact( id );
assertNotNull( "JBoss contact " + id + " exists", contact ); assertNotNull( "JBoss contact " + id + " exists", contact );