Test hang or stuck after the test cases are executed. No progress further.

We are using the XCUITest Framework in one of our Apple TV Application. We have created test plans and using Jenkins for CI-CD. Once the test execution is completed, then it gets stuck and it is not stopping/completing the execution by itself.

Test hang or stuck after the test cases are executed. No progress further.
 
 
Q