Github user clebertsuconic commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/806#discussion_r80976998
--- Diff:
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/DeadLetterAddressTest.java
---
@@ -82,6 +87,43 @@ public void testBasicSend() throws Exception {
Assert.assertEquals(m.getBodyBuffer().readString(), "heyho!");
}
+ @Test
+ public void testLargeMessageFileLeak() throws Exception {
+ // only run this on *nix systems which will have the
com.sun.management.UnixOperatingSystemMXBean (needed to check open file count)
+ Assume.assumeTrue(File.separatorChar == '/');
--- End diff --
I tested it on windows and it does compile file...
Can you change this to some sort of instanceof?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---