Hi Devs, I ran the live test in python cartridge agent(PCA) and it was failed. There are 3 tests in the PCA and they run on based on the artifacts which is taken from a public repo and a private repo. Each test uses defined artifacts as parameters. When I ran all the 3 tests, which is the default run it was failed. Then I tried running a single test which uses a public repo and it was successful. Even running 2 tests was successful. But could not run 3 tests successfully.
After looking at logs, what I could understand is that in the last test, it waits for the instance activated event. But cartridge agent has already sent the instance activated event. So after the timeout, build get failed. ExecutorService executorService = StratosThreadPool.getExecutorService("TEST_THREAD_POOL", 5); Thread pool size we used in the PCA test is 5. I increased that number more than 5 and ran all 3 tests. It was successful. In each and every test case, a new Executor Service is getting created and have the same number of thread pool size. But every time last test fails regardless of the test order. Other thing is that when we are adding more artifact events as parameters which is also increasing the number of tests, we have to increase the thread pool size to run tests successfully. What could be the reason for this behavior? Thank you! -- *Pubudu Gunatilaka* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 77 4078049