[jbosstools-issues] [JBoss JIRA] (JBIDE-13675) openshift-java-client: dont swallow domain deletion errors in tests if deletion is pre-condition

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Feb 27 16:05:56 EST 2013


Andre Dietisheim created JBIDE-13675:
----------------------------------------

             Summary: openshift-java-client: dont swallow domain deletion errors in tests if deletion is pre-condition
                 Key: JBIDE-13675
                 URL: https://issues.jboss.org/browse/JBIDE-13675
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: openshift
    Affects Versions: 4.1.0.Alpha1
            Reporter: Andre Dietisheim
            Assignee: Andre Dietisheim
             Fix For: 4.0.0.Alpha2-SOA


When running UserResourceIntegrationTests there are currently several tests that fail because of an issue in OpenShift (reported in https://bugzilla.redhat.com/show_bug.cgi?id=916323). The UserResourceIntegrationTests therefore fail in 

#shouldCreateDomain
#shouldReturnThatHasNoDomain
#shouldReturnEmptyDomains
#shouldNoDefaultDomainAfterRefresh

These tests rely on the fact that the domain(s) could be deleted, no domain is a pre-condition to them. 
Unfortunately these tests swallow the exceptions that may occurr when killing these domains. The tests therefore report resulting errors, not the real cause.
We have to ensure exception that occurr when killing domains are not swallowed. They have to make the test fail (since domain deletion is a precondition).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list