Github user remibergsma commented on the issue:

    https://github.com/apache/cloudstack/pull/2015
  
    @sudhansu7 Thanks for the fix. We need to update the unit test as well.
    
    Please check:
    
    ```
    diff --git 
a/cosmic-core/utils/src/test/java/com/cloud/utils/ssh/SshHelperTest.java 
b/cosmic-core/utils/src/test/java/com/cloud/utils/ssh/SshHelperTest.java
    index c7282c426..b9b7213c8 100644
    --- a/cosmic-core/utils/src/test/java/com/cloud/utils/ssh/SshHelperTest.java
    +++ b/cosmic-core/utils/src/test/java/com/cloud/utils/ssh/SshHelperTest.java
    @@ -126,6 +126,5 @@ public class SshHelperTest {
             Mockito.verify(conn).openSession();
    
             PowerMockito.verifyStatic();
    -        Thread.sleep(Mockito.anyLong());
         }
     }
    ```
    
    Test `openConnectionSessionTest` passes again for me after above change.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to