From 985236377cb810ff39d3839d7862faf38e9d7313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Paksy?= Date: Mon, 6 Jan 2025 08:12:22 +0100 Subject: [PATCH] HBASE-28832 Fixed TestInfoServersACL test There were some changes in the Bootstrap upgrade which caused the test to fail because the test expected certain text to appear on the UI page. (cherry picked from commit eba6a857a5055b4efdd8ee15b04cc8253145e822) --- .../java/org/apache/hadoop/hbase/http/TestInfoServersACL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestInfoServersACL.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestInfoServersACL.java index 9a8aa3332368..b613e2a824c6 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestInfoServersACL.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestInfoServersACL.java @@ -193,7 +193,7 @@ public Void run() throws Exception { @Test public void testTableActionsAvailableForAdmins() throws Exception { - final String expectedAuthorizedContent = "Actions:"; + final String expectedAuthorizedContent = "Actions"; UserGroupInformation admin = UserGroupInformation .loginUserFromKeytabAndReturnUGI(USER_ADMIN_STR, KEYTAB_FILE.getAbsolutePath()); admin.doAs(new PrivilegedExceptionAction() {