Commit 70eb936
committed
HBASE-30355 addendum: clean up MiniKdc dir on genuine (non-bind) setup failure too
Move the deleteDirectory(dir) call ahead of the isBindException check in
setupMiniKdc's catch block so the partially-initialized kdc dir is cleaned
up before rethrowing a non-bind failure, not just on a retried bind
conflict. Per review comment from virajjasani on PR #8604.1 parent 9928929 commit 70eb936
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- hbase-http/src/test/java/org/apache/hadoop/hbase/http/log
- hbase-server/src/test/java/org/apache/hadoop/hbase
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
165 | | - | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3737 | 3737 | | |
3738 | 3738 | | |
3739 | 3739 | | |
| 3740 | + | |
3740 | 3741 | | |
3741 | 3742 | | |
3742 | 3743 | | |
3743 | | - | |
3744 | 3744 | | |
3745 | 3745 | | |
3746 | 3746 | | |
| |||
0 commit comments