Kirk Lund created GEODE-8328:
--------------------------------
Summary: GfshRuleIntegrationTest fails on Windows
Key: GEODE-8328
URL: https://issues.apache.org/jira/browse/GEODE-8328
Project: Geode
Issue Type: Bug
Components: tests
Reporter: Kirk Lund
Since I'm the one that just merged this change, I know it's a simple/easy fix.
I forgot to test on Windows before committing the last few tweaks to the PR's
branch. If the OS is windows, the test needs to add .bat to the end of the gfsh
binary string.
{noformat}
org.apache.geode.test.junit.rules.GfshRuleIntegrationTest >
gfshCurrentRuleUsesCurrentGfsh FAILED
org.junit.ComparisonFailure: expected:<...pache-geode\\bin\\gfsh[]> but
was:<...pache-geode\\bin\\gfsh[.bat]>
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
org.apache.geode.test.junit.rules.GfshRuleIntegrationTest.gfshCurrentRuleUsesCurrentGfsh(GfshRuleIntegrationTest.java:66)
{noformat}
{noformat}
org.apache.geode.test.junit.rules.GfshRuleIntegrationTest >
gfsh130RuleUses130Gfsh FAILED
org.junit.ComparisonFailure: expected:<...geode-1.3.0\\bin\\gfsh[]> but
was:<...geode-1.3.0\\bin\\gfsh[.bat]>
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
org.apache.geode.test.junit.rules.GfshRuleIntegrationTest.gfsh130RuleUses130Gfsh(GfshRuleIntegrationTest.java:72)
{noformat}
CI link:
http://files.apachegeode-ci.info/builds/apache-develop-main/1.14.0-build.0207/test-results/integrationTest/1593718655/
--
This message was sent by Atlassian Jira
(v8.3.4#803005)