Merge branch 'master' of github.com:ebean-orm/ebean

This commit is contained in:
rbygrave committed 2021-08-30 22:43:06 +12:00
commit 6e10d641b2
2 files changed
+1 -2

No files matched your search

@@ -81,7 +81,6 @@ public class TestAggregateFormula extends BaseTestCase {
for (Contact contact : contacts) { for (Contact contact : contacts) {
Customer customer = contact.getCustomer(); Customer customer = contact.getCustomer();
assertNotNull(customer.getName()); assertNotNull(customer.getName());
assertNotNull(customer.getStatus());
} }
List<String> sql = LoggedSqlCollector.stop(); List<String> sql = LoggedSqlCollector.stop();
@@ -112,7 +111,6 @@ public class TestAggregateFormula extends BaseTestCase {
for (Contact contact : contacts) { for (Contact contact : contacts) {
Customer customer = contact.getCustomer(); Customer customer = contact.getCustomer();
assertNotNull(customer.getName()); assertNotNull(customer.getName());
assertNotNull(customer.getStatus());
final Address billingAddress = customer.getBillingAddress(); final Address billingAddress = customer.getBillingAddress();
if (billingAddress != null) { if (billingAddress != null) {
assertNotNull(billingAddress.getCountry()); assertNotNull(billingAddress.getCountry());
@@ -40,6 +40,7 @@ public class ClusterTest {
foo.save(); foo.save();
DB.getServerCacheManager().clearAll(); DB.getServerCacheManager().clearAll();
DB.getDefault().getMetaInfoManager().resetAllMetrics();
other.getMetaInfoManager().resetAllMetrics(); other.getMetaInfoManager().resetAllMetrics();
Person fooA = DB.find(Person.class, foo.getId()); Person fooA = DB.find(Person.class, foo.getId());