Forum Discussion

parshchakurkar's avatar
parshchakurkar
New Contributor
1 year ago

How to block the test execute ID based floating license?

please share details if you know how can i block the testexecute ID based floating license for running test complete tests through pipeline.

Known information:

  • when test execute application start it check the available license and then only open.
  • if license is not available application will not open.
  • In the pipeline VStest task will start the test execute appication, after running tests it will close the testexecute which will release the license

senario:

  • pipeline which will run 10 ATP test job, which has 10 VS tests task. currently there are 3 pipeline.
  • if pipeline 1 is running and completed 1 test job , meanwhile job 2 start the license will be consumed by the pipeline 2, hence due to this pipeline 1 job 2 is not having license and taking more time to complete the pipeline.

expectation:

  • block a license, complete pipeline 1 and then only license should available for the pipeline 2

4 Replies

  • Is it possible to block and unblock the license process on a private network using a custom script? Since this is required for the pipeline, can I release the license from the machine once the pipeline run is complete?

      • Hassan_Ballan's avatar
        Hassan_Ballan
        Icon for Champion Level 3 rankChampion Level 3

        I don't claim that I fully understand description of the 3 pipeline and ATP test jobs, and I also realized that changing license type will not help. 

        Each TestExecute instance will occupy a license seat regardless of the license type, and in that case @parshchakurkar your options are:

        1. Acquire additional licenses
        2. Redesign/Restructure your pipeline ATP jobs to run in sequence and not in parallel