core scheduler, app fabric and dataset service should use fewer threads in tests

Description

Dataset service has 10 workers and 30 executors

AppFabric has 10 workers and 20 executors

Scheduler has 15 constraint checker threads

 

 

Release Notes

None

Activity

Show:
Ali Anwar
August 27, 2018, 6:10 PM

Don't the unit tests run with enough resources to support these number of threads?

Andreas Neumann
August 27, 2018, 6:59 PM
Andreas Neumann
August 27, 2018, 7:01 PM

they might. But they are unit tests and not integration tests. A unit test should not have to spin up a full-fledged system. It also makes debugging and reading logs harder if there are hundreds of thread trace-logging. 

Andreas Neumann
September 14, 2018, 11:53 PM

PR for app fabric and dataset service: https://github.com/caskdata/cdap/pull/10609

Ran the DUT for two weeks on regular basis, did not observe flakiness that was not observed in develop.

Fixed

Assignee

Andreas Neumann

Reporter

Andreas Neumann

Labels

Docs Impact

None

UX Impact

None

Fix versions

Affects versions

Priority

Major
Configure