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

Julian Reschke commented on OAK-9984:
-------------------------------------

This is indeed caused by overriding java.io.tmpdir:

{noformat}
    @Before
    public void setup() throws IOException {
        try {
            System.setProperty("java.io.tmpdir", 
temporaryFolder.newFolder("systemp").getAbsolutePath());
        } catch (IOException e) {
            throw e;
        }
    }
{noformat}

...which in this case seems to end up with a folder that does not exist.

> FlatFileSplitterTest reliably failing
> -------------------------------------
>
>                 Key: OAK-9984
>                 URL: https://issues.apache.org/jira/browse/OAK-9984
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: run
>            Reporter: Julian Reschke
>            Assignee: Amit Jain
>            Priority: Major
>             Fix For: 1.46.0
>
>
> (on Windows)
> {noformat}
> [ERROR] Failures:
> [ERROR]   FlatFileSplitterTest.deleteAfterSplit:128 expected:<105> but 
> was:<108>
> [ERROR]   FlatFileSplitterTest.multipleNodeTypeSplitWithNestedParent:228 
> expected:<353> but was:<362>
> [ERROR]   FlatFileSplitterTest.multipleNodeTypeSplitWithParent:204 
> expected:<226> but was:<232>
> [ERROR]   FlatFileSplitterTest.simpleSplit:146 expected:<105> but was:<108>
> [ERROR]   FlatFileSplitterTest.simpleSplitWithNestedParent:184 expected:<345> 
> but was:<354>
> [ERROR]   FlatFileSplitterTest.simpleSplitWithParent:163 expected:<298> but 
> was:<306>
> [ERROR]   FlatFileSplitterTest.splitAsset:244 expected:<1059678> but 
> was:<1067609>
> [ERROR]   FlatFileSplitterTest.splitFolder:273 expected:<1059678> but 
> was:<1067609>
> [ERROR]   FlatFileSplitterTest.splitFolderWithCompression:310 
> expected:<1059678> but was:<1067609>
> [ERROR]   FlatFileSplitterTest.unknownTypeNoSplit:114 expected:<114> but 
> was:<117>
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to