anmolnar commented on code in PR #7464:
URL: https://github.com/apache/hbase/pull/7464#discussion_r2589597099


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/ReadOnlyController.java:
##########
@@ -107,52 +123,136 @@ public void start(CoprocessorEnvironment env) throws 
IOException {
   public void stop(CoprocessorEnvironment env) {
   }
 
+  @InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.UNITTEST)
+  public void setGlobalReadOnlyEnabled(boolean enabled) {
+    this.globalReadOnlyEnabled = enabled;
+  }
+

Review Comment:
   I think this is fine in a unit test. Not ideal, but acceptable.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to