Github user ahgittin commented on the pull request:

    https://github.com/apache/brooklyn-server/pull/56#issuecomment-195276712
  
    simple to fix, i guess the felix error messages have changed.
    
    change `OsgiVersionMoreEntityTest:282` from
    
            try {
                Entity me = addItemFromCatalog(c2);
                Assert.fail("Should have failed, with unresolved dependency; 
instead got "+me);
            } catch (Exception e) {
                
Assert.assertTrue(e.toString().toLowerCase().contains("unresolved constraint"), 
"Missing expected text in error: "+e);
                
Assert.assertTrue(e.toString().toLowerCase().contains("wiring.package"), 
"Missing expected text in error: "+e);
                
Assert.assertTrue(e.toString().toLowerCase().contains("org.apache.brooklyn.test.osgi.entities"),
 "Missing expected text in error: "+e);
            }
    
    to
            
            try {
                Entity me = addItemFromCatalog(c2);
                Asserts.shouldHaveFailedPreviously("Should have failed, with 
unresolved dependency; instead got: "+me);
            } catch (Exception e) {
                Asserts.expectedFailureContainsIgnoreCase(e, "unresolved", 
"wiring.package", "org.apache.brooklyn.test.osgi.entities");
            }



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to