MAPREDUCE-7342. Stop RMService in TestClientRedirect.testRedirect() (#2968)

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 7b5be74228)
This commit is contained in:
lzx404243 2021-08-29 19:39:33 -04:00 committed by Akira Ajisaka
parent dac74b0e11
commit 5c9ab0ce09
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 8 additions and 0 deletions

View File

@ -279,6 +279,14 @@ public class TestClientRedirect {
super(name); super(name);
} }
@Override
protected void serviceStop() throws Exception {
if (server != null) {
server.stop();
}
super.serviceStop();
}
@Override @Override
protected void serviceInit(Configuration conf) throws Exception { protected void serviceInit(Configuration conf) throws Exception {
clientServiceBindAddress = RMADDRESS; clientServiceBindAddress = RMADDRESS;