Andras Piros created OOZIE-3421: ----------------------------------- Summary: [tests] GitServer lifecycle fixes Key: OOZIE-3421 URL: https://issues.apache.org/jira/browse/OOZIE-3421 Project: Oozie Issue Type: Improvement Components: tests Affects Versions: 5.1.0 Reporter: Andras Piros Assignee: Andras Piros Fix For: 5.2.0
Integration tests using {{GitServer}} such as {{TestIntegrationGitActionExecutor}} may call {{GitServer#start()}} when the underlying {{Daemon}} has already been started, or {{GitServer#stopAndCleanupReposServer()}} when the underlying {{Daemon}} has not yet been started. We need to assert lifecycle state first before calling any {{Daemon}} methods. -- This message was sent by Atlassian JIRA (v7.6.3#76005)