forked from yugabyte/yugabyte-db
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-6306] Add back tasktypes module
Summary: This change reverts commit d7afbc6 This also fixes the OOM caused by mockito memory leak: See: mockito/mockito#1614 The mockito internal map was using 95% of the memory at the time of the OOM. As suggested we are now calling ``` Mockito.framework().clearInlineMocks() ``` However we are calling only once per class instead of after each test method. This is because it interfears with JunitMockito rule. Alternative is to add rull ordering as suggested in: mockito/mockito#1902 (comment) Test Plan: This fixes the tests Reviewers: yshchetinin, hzare Reviewed By: yshchetinin, hzare Subscribers: yshchetinin, jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D21333
- Loading branch information
Showing
7 changed files
with
315 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.