Skip to content

Make test suite faster and less flaky #114

@neerajprad

Description

@neerajprad

Our test time has increased from 25 mins to more than a couple of hours on occasion, timing out the build in travis.

Faster Tests:

Tasks for improving speed:

  • Profile tests; and flag tests that individually take longer than 10 minutes.
  • Separate out the slow running integration tests via travis matrix.
  • Explore parallelizing batches of tests using pytest.

Explored (but discarded):

Not explored (on hold):


Less flaky tests:

  • Identify flaky tests (there are, from what I can see, two of them); for now let us increase the tolerance until we find a longer term solution (@fritzo suggested a good strategy in Regression test system (for stochastic computations) #101).
  • Make unit tests deterministic.
  • Mark flaky integration tests so that these do not fail the build.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions