Build fails on Windows

28 views
Skip to first unread message

andrewbu...@gmail.com

unread,
Mar 30, 2017, 11:29:12 PM3/30/17
to Maven JMeter Plugin Devs
Howdy,

I was looking to package a snapshot from github to take advantage of the new downloadOptionalDependencies flag, but building from source using mvn package fails on my Windows instance for the following tests:

resultsFileContainsDirectoryStructureInName(com.lazerycode.jmeter.configuration.JMeterArgumentsArrayTest) Time elapsed: 0.001 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is "-d target/jmeter/ -l temp/subdir_test.jtl -n -t C:\perftest\jmeter-maven-plugin\target\test-classes\tests\subdir\test.jmx"
but: was "-d target/jmeter/ -l temp\subdir/test.jtl -n -t C:\perftest\jmeter-maven-plugin\target\test-classes\tests\subdir\test.jmx"

and

createConfigFromInputStream(com.lazerycode.jmeter.json.TestConfigTest) Time elapsed: 0.012 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is "{\n \"resultFilesLocations\" : [],\n \"resultsOutputIsCSVFormat\" : false,\n \"someOtherElement\": \"foo\"\n}"
but: was "{\r\n \"resultFilesLocations\" : [],\r\n \"resultsOutputIsCSVFormat\" : false,\r\n \"someOtherElement\": \"foo\"\r\n}"

Looks like it's failing on the actual outputs path structure with \ and the \r\n, assuming you're building on OSX/Linux?

andrewbu...@gmail.com

unread,
Mar 30, 2017, 11:45:16 PM3/30/17
to Maven JMeter Plugin Devs, andrewbu...@gmail.com

I've raised this as https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/issues/219, proposed fix incoming

Reply all
Reply to author
Forward
0 new messages