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 Rick Hillegas <ri...@gmail.com> on 2017/06/17 19:35:08 UTC

broken tests on trunk

In an empty workspace sync'd to the head of trunk as of this morning, 
the following tests fail for me:

   dblook_test_net
   dblook_test_net_territory
   dblook_test
   dblook_test_territory

It looks to me as though the diffs are caused by the addition of a new 
SYSCOLUMNS_AUTOINCREMENTINCCYCLE column to SYS.SYSCOLUMNS.

Thanks,
-Rick


Re: broken tests on trunk

Posted by Rick Hillegas <ri...@gmail.com>.
Hey Bryan,

Looks like you figured out a way to run the non-junit tests. This is the 
magic I mumble:

java -Dverbose=true 
org.apache.derbyTesting.functionTests.harness.RunTest $SINGLE_TEST

Hope this is useful,
-Rick

On 6/18/17 12:05 PM, Bryan Pendleton wrote:
> Hi Rick, I'm sorry for the stupid question, but: can you remind me how to
> run these tests? Are they run by 'ant junit-all' or by running
> 'ant 
> -Dderby.junit.testclass=org.apache.derbyTesting.functionTests.tests.tools._Suite 
> junit-single'?
>
> Or do I have to run them some other way?
>
> FWIW, running the tools suite using ant is currently reporting no 
> errors for me.
>
> thanks,
>
> bryan
>
>
> On Sat, Jun 17, 2017 at 12:35 PM, Rick Hillegas 
> <rick.hillegas@gmail.com <ma...@gmail.com>> wrote:
>
>     In an empty workspace sync'd to the head of trunk as of this
>     morning, the following tests fail for me:
>
>       dblook_test_net
>       dblook_test_net_territory
>       dblook_test
>       dblook_test_territory
>
>     It looks to me as though the diffs are caused by the addition of a
>     new SYSCOLUMNS_AUTOINCREMENTINCCYCLE column to SYS.SYSCOLUMNS.
>
>     Thanks,
>     -Rick
>
>


Re: broken tests on trunk

Posted by Bryan Pendleton <bp...@gmail.com>.
I reproduced (I think) the failures by doing the following:

1) building jars (ant buildJars)
2) creating a new empty directory and cd'ing there
3) export
CLASSPATH=/path/to/derbyrun.jar:/path/to/derbyTesting.jar:/path/to/junit.jar
4) java org.apache.derbyTesting.functionTests.harness.RunSuite derbytools

The test results appear in 'derbytools_report.txt'.

thanks,

bryan

Re: broken tests on trunk

Posted by Bryan Pendleton <bp...@gmail.com>.
Hi Rick, I'm sorry for the stupid question, but: can you remind me how to
run these tests? Are they run by 'ant junit-all' or by running
'ant
-Dderby.junit.testclass=org.apache.derbyTesting.functionTests.tests.tools._Suite
junit-single'?

Or do I have to run them some other way?

FWIW, running the tools suite using ant is currently reporting no errors
for me.

thanks,

bryan


On Sat, Jun 17, 2017 at 12:35 PM, Rick Hillegas <ri...@gmail.com>
wrote:

> In an empty workspace sync'd to the head of trunk as of this morning, the
> following tests fail for me:
>
>   dblook_test_net
>   dblook_test_net_territory
>   dblook_test
>   dblook_test_territory
>
> It looks to me as though the diffs are caused by the addition of a new
> SYSCOLUMNS_AUTOINCREMENTINCCYCLE column to SYS.SYSCOLUMNS.
>
> Thanks,
> -Rick
>
>