[ 
https://issues.apache.org/jira/browse/GEODE-8328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150609#comment-17150609
 ] 

ASF subversion and git services commented on GEODE-8328:
--------------------------------------------------------

Commit 54a21c587e3ced839b13d394aaaab9f40151397e in geode's branch 
refs/heads/develop from Kirk Lund
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=54a21c5 ]

GEODE-8328: Fix GfshRuleIntegrationTest on Windows (#5345)

Add .bat to gfsh binary on Windows.

> CI failure: 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
>            Assignee: Kirk Lund
>            Priority: Major
>
> 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)

Reply via email to