Project

General

Profile

Actions

Story #3021

closed

[Tests] Make jenkins tests run faster.

Added by Tom Clegg over 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
Tests
Target version:
Start date:
01/05/2015
Due date:
% Done:

100%

Estimated time:
(Total: 3.00 h)
Story points:
1.0

Description

Places to look include:
  • Performance of Workbench itself. Are some tests simply revealing performance problems in the application?
  • API server setup/teardown during workbench tests. (This only happens once per suite since rails4, so perhaps it's not a big contributor.)
  • API server setup/teardown during python tests.
Tools to fix this include:
  • API server hook that resets test fixtures to a pristine state. Python/Workbench integration tests should use this instead of starting and stopping API server many times.
  • Refactor "run_test_server" to run as a wrapper around an arbitrary test suite. It can set an environment variable to communicate to the test suite how to push the "reset fixtures" button (path to a trigger file, PID to send a USR1 signal to, or whatever).

Files

workbench-fail-1.png (57.9 KB) workbench-fail-1.png Pipeline instance test failure with Poltergeist Brett Smith, 01/06/2015 05:07 PM

Subtasks 10 (0 open10 closed)

Task #4971: Review 3021-test-perf on arvados-devResolvedTom Clegg01/05/2015

Actions
Task #4896: Review 3021-more-phantomjsResolvedTom Clegg01/05/2015

Actions
Task #4895: Convert selenium tests to phantomjs where possibleResolvedTom Clegg01/05/2015

Actions
Task #4902: Use a fixture instead of calling "run a pipeline" in the set of 8 "rerun pipeline instance" testsResolvedRadhika Chippada01/06/2015

Actions
Task #4974: Review 3021-workbench-perfResolvedTom Clegg01/05/2015

Actions
Task #4975: Review 3021-api-performanceResolvedTim Pierce01/05/2015

Actions
Task #5092: Review branch: 4902-use-fixture-to-rerun-pipelinesResolved01/27/2015

Actions
Task #4986: Refactor run_test_server.py to use API database reset rather than restarting the serverResolvedTom Clegg01/05/2015

Actions
Task #5130: Review 3021-leave-api-running (arvados-dev)ResolvedTom Clegg01/05/2015

Actions
Task #5129: Review 3021-leave-api-running (arvados)ResolvedTom Clegg01/05/2015

Actions

Related issues 4 (0 open4 closed)

Related to Arvados - Bug #4942: [Workbench] Data Collections Tab in Projects takes too long to load or failsClosed01/08/2015

Actions
Related to Arvados - Bug #4464: [Workbench] Collections tab loads forever on a specific projectResolvedBrett Smith02/05/2015

Actions
Related to Arvados - Feature #2660: [Tests] [Draft] Make entire test suite run faster by eliminating excess start/stopResolved

Actions
Related to Arvados - Feature #4534: [Tests] run-tests.sh should bring up API and Keep services for the duration of the tests.Resolved11/20/2014

Actions
Actions

Also available in: Atom PDF