You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Julius Stroffek <Ju...@Sun.COM> on 2007/07/24 15:09:43 UTC

lang.LangScripts failure

Hi All,

I am getting this failure during my junit test run on trunk...

1) 
miscerrors(org.apache.derbyTesting.functionTests.tests.lang.LangScripts)junit.framework.ComparisonFailure: 
Output at line 69 expected:<...where CAST(SQL_TEXT [AS LONG VARCHAR) 
LIKE '%932432%' ]                    ...> but was:<...where 
CAST(SQL_TEXT [ AS LONG VARCHAR) LIKE '%932432%']                    ...>
        at 
org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
        at 
org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:124)
        at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
        at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)


Anybody else seeing this? I do not see this failure on regular 
thinderbox and daily test runs...

Thanks

Julo

Re: lang.LangScripts failure

Posted by Bryan Pendleton <bp...@amberpoint.com>.
> on one of the IBM runs, so it is not just you.  I took out the 
> extraneous space in the test and updated the master. 

Is it possible that some "diff" configurations are ignoring
whitespace, and some are not?

thanks,

bryan


Re: lang.LangScripts failure

Posted by Kathey Marsden <km...@sbcglobal.net>.
Julius Stroffek wrote:
> Hi All,
>
> I am getting this failure during my junit test run on trunk...
>
> 1) 
> miscerrors(org.apache.derbyTesting.functionTests.tests.lang.LangScripts)junit.framework.ComparisonFailure: 
> Output at line 69 expected:<...where CAST(SQL_TEXT [AS LONG VARCHAR) 
> LIKE '%932432%' ]                    ...> but was:<...where 
> CAST(SQL_TEXT [ AS LONG VARCHAR) LIKE '%932432%']                    ...>
>         at 
> org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
>         at 
> org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:124)
>         at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>
>
> Anybody else seeing this? I do not see this failure on regular 
> thinderbox and daily test runs...
I changed this test but am not seeing the failure myself.  I did see it 
on one of the IBM runs, so it is not just you.  I took out the 
extraneous space in the test and updated the master.  Could you try the 
attached patch and see if it fixes your problem?


Kathey