Skip to content

ARTEMIS-6116 Fix tests for windows OS#6513

Open
GChuf wants to merge 6 commits into
apache:mainfrom
GChuf:ARTEMIS-6116
Open

ARTEMIS-6116 Fix tests for windows OS#6513
GChuf wants to merge 6 commits into
apache:mainfrom
GChuf:ARTEMIS-6116

Conversation

@GChuf

@GChuf GChuf commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

This PR fixes some errors, not all of them.
Submitting this "work in progress" before I forget I was doing work here.

producer.applyProperties(mockMessage);

assertEquals("Unable to set property: myKey. Did not recognize type: myType. Supported types are: boolean, int, long, byte, short, float, double, string.\n", context.getStderr());
assertEquals("Unable to set property: myKey. Did not recognize type: myType. Supported types are: boolean, int, long, byte, short, float, double, string.\n", context.getStderr().replace("\r\n", "\n"));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a good place to use System.lineSeparator().

Comment thread pom.xml
-Djava.library.path="${activemq.basedir}/target/bin/lib/linux-x86_64:${activemq.basedir}/target/bin/lib/linux-i686"
-Djgroups.bind_addr=localhost
-Djava.net.preferIPv4Stack=true
-Dbasedir=${basedir}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you elaborate on the problem this is causing? Several tests use System.getProperty("basedir") so I would expect removing this line would cause such tests problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants