You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/09/02 02:09:45 UTC

[GitHub] [rocketmq] lizhanhui commented on a diff in pull request #4637: [ISSUE #4585] PlainPermissionManagerTest add unit test

lizhanhui commented on code in PR #4637:
URL: https://github.com/apache/rocketmq/pull/4637#discussion_r961229311


##########
acl/src/test/java/org/apache/rocketmq/acl/plain/PlainPermissionManagerTest.java:
##########
@@ -247,7 +259,7 @@ public void multiFilePathTest() {
 
     @Test
     public void testWatch() throws IOException, IllegalAccessException, InterruptedException {
-        File file = new File("src/test/resources");
+        File file = new File(PATH);
         System.setProperty("rocketmq.home.dir", file.getAbsolutePath());
 
         String fileName = System.getProperty("rocketmq.home.dir") + File.separator + "/conf/acl/plain_acl_test.yml";

Review Comment:
   This line will not be compatible with Windows



-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org