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 "Kristian Waagan (JIRA)" <ji...@apache.org> on 2011/08/18 09:14:27 UTC
[jira] [Commented] (DERBY-5386)
testReplication_Local_StateTest_part1 fails with .AssertionFailedError:
directory doesn't exist: ...db_master
[ https://issues.apache.org/jira/browse/DERBY-5386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086845#comment-13086845 ]
Kristian Waagan commented on DERBY-5386:
----------------------------------------
Here's the relevant code:
if (PrivilegedFileOpsForTests.exists(masterHome)) {
BaseJDBCTestCase.assertDirectoryDeleted(masterHome);
}
What's causing the file to "become deleted" between the existence test and the delete?
Is this part of the test multi-threaded, or is this some kind of VM/filesystem issue?
> testReplication_Local_StateTest_part1 fails with .AssertionFailedError: directory doesn't exist: ...db_master
> -------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-5386
> URL: https://issues.apache.org/jira/browse/DERBY-5386
> Project: Derby
> Issue Type: Bug
> Components: Replication, Test
> Affects Versions: 10.9.0.0
> Environment: linux trunk 10.9.0.0 alpha - (1158485)
> Reporter: Kathey Marsden
>
> Auust 16.2011 running on linux on trunk 10.9.0.0 alpha - (1158485) I saw the following failure:
> 1) testReplication_Local_StateTest_part1(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1)junit.framework.AssertionFailedError: directory doesn't exist: /local1/cloudtst/dev/src/NightlyBuildResults.2011-08-16/ibm16_suites.All/db_master
> at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1498)
> at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.initMaster(ReplicationRun.java:1871)
> at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_StateTest_part1.testReplication_Local_StateTest_part1(ReplicationRun_Local_StateTest_part1.java:90)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.runBare(ReplicationRun.java:206)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:16)
> FAILURES!!!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira