ndimiduk commented on a change in pull request #1293: HBASE-23970
TestUsersOperationsWithSecureHadoop fails when an existing ticket is present
URL: https://github.com/apache/hbase/pull/1293#discussion_r394002431
##########
File path:
hbase-server/src/test/java/org/apache/hadoop/hbase/security/TestUsersOperationsWithSecureHadoop.java
##########
@@ -65,11 +67,19 @@
private static String CLIENT_NAME;
@BeforeClass
- public static void destroyAndSetup() throws Exception {
- //destroy localhost kerberos users
- Process process = Runtime.getRuntime().exec(new String[]{"bash", "-c",
"kdestroy"});
- process.waitFor(2, TimeUnit.SECONDS);
Review comment:
This previous `waitFor` call doesn't check the return value. It's possible
the call failed but the test didn't notice.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services