We have quite a large set of unit tests and the total time needed to run all unit tests is about 25 minutes when tests are run on a developer machine. However, the same unit tests when run through Bitbucket Pipeline, it appears to be running forever and build fails due to time out (as the build timeout is set to 120 minutes). Can an expert advise how Bitbucket Pipeline can be configured to run my tests quicker? Please find the Pipeline our config YAML file for your reference. We tried with/without size: 2x and did not notice much difference. Our expectation is to finish running tests in ~ 25 mins (or less, if possible) and the current situation is that it seems to be taking > 120 mins and the build is timing out.
pipelines:
branches:
dev:
- step:
size: 2x
name: Deploy to Development
deployment: development
caches:
- maven
script:
- cd <project folder>
- mvn clean install
2 years later same issues lol
almost 3 years later, nothing changed lol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.