# Javascript build timeout

**URL:** <https://discuss.circleci.com/t/javascript-build-timeout/1280>\
**Category:** Build Environment\
**Created:** [December 24, 2015, 2:58pm UTC](https://discuss.circleci.com/t/javascript-build-timeout/1280 "2015-12-24T14:58:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjmarkham](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/cjmarkham/32/870_2.png) [@cjmarkham](https://discuss.circleci.com/u/cjmarkham)\
**Post date:** [December 24, 2015, 2:58pm UTC](https://discuss.circleci.com/t/javascript-build-timeout/1280/1 "2015-12-24T14:58:39Z")

</div>

I have 3 pipelines. The first 2 run Ruby tests (controllers, models, etc). The 3rd pipeline is used to run JS tests. I use the selenium web driver and Capybara.

For some reason these specs never get ran and instead it times out after around 14 minutes of build time. The other 2 pipelines work fine and complete within 5 minutes each.

I have just started using CircleCI after migrating from Codeship and never faced these issues before.

The following is the custom command I am using to run each test suite in a different pipeline:

`case $CIRCLE_NODE_INDEX in 0) rake test:web ;; 1) rake test:models ;; 2) rake test:js ;; esac`

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:37am UTC](https://discuss.circleci.com/t/javascript-build-timeout/1280/2 "2018-06-18T11:37:50Z")

</div>

Closed on June 18, 2018, 11:37am UTC


