MAPREDUCE-7310. Clear the fileMap in JHEventHandlerForSigtermTest (#2499)

Co-authored-by: Zhengxi Li <zli89@illinois.edu>
Reviewed-by: Wanqiang Ji <jiwq@apache.org>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit ca7dd5fad3)
This commit is contained in:
lzx404243 2021-01-12 00:45:13 -06:00 committed by Akira Ajisaka
parent d8e6d85042
commit 53460b664d
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 1 additions and 0 deletions

View File

@ -1117,6 +1117,7 @@ class JHEvenHandlerForTest extends JobHistoryEventHandler {
class JHEventHandlerForSigtermTest extends JobHistoryEventHandler { class JHEventHandlerForSigtermTest extends JobHistoryEventHandler {
public JHEventHandlerForSigtermTest(AppContext context, int startCount) { public JHEventHandlerForSigtermTest(AppContext context, int startCount) {
super(context, startCount); super(context, startCount);
JobHistoryEventHandler.fileMap.clear();
} }
public void addToFileMap(JobId jobId) { public void addToFileMap(JobId jobId) {