[
https://issues.apache.org/jira/browse/SOLR-18294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18096547#comment-18096547
]
ASF subversion and git services commented on SOLR-18294:
--------------------------------------------------------
Commit eb59a9a6db4a2ff982a3be8e3682456eb8c12fd1 in solr's branch
refs/heads/main from Shubham Ranjan
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=eb59a9a6db4 ]
SOLR-18294: Fix flaky IndexFetcherPacketProtocolTest (#4624)
Test was using an incorrect 'DirContext' and failed periodically
based on test randomization.
> IndexFetcherPacketProtocolTest fails intermittently (~5%)
> ---------------------------------------------------------
>
> Key: SOLR-18294
> URL: https://issues.apache.org/jira/browse/SOLR-18294
> Project: Solr
> Issue Type: Test
> Components: replication (java)
> Affects Versions: main(11.0)
> Reporter: Shubham Ranjan
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{IndexFetcherPacketProtocolTest}} fails intermittently on Jenkins. In an
> affected run, multiple methods fail with:
> {noformat}
> java.lang.AssertionError: fetchPackets return code mismatch expected:<0>
> but was:<1>
> at
> ...IndexFetcherPacketProtocolTest.assertFetchPacketsSuccess(IndexFetcherPacketProtocolTest.java:209)
> {noformat}
> The underlying error in the suite output is a missing file while the data
> is being serialized:
> {noformat}
> ReplicationAPIBase Exception while writing response ...
> fileName=test-63mb.bin
> java.nio.file.NoSuchFileException: test-63mb.bin
> at
> org.apache.lucene.store.ByteBuffersDirectory.openInput(ByteBuffersDirectory.java:209)
> at
> ...ReplicationAPIBase$DirectoryFileStream.write(ReplicationAPIBase.java:384)
> at
> ...IndexFetcherPacketProtocolTest.serializeFileToPacketStream(IndexFetcherPacketProtocolTest.java:281)
> IndexFetcher No content received for file: test-63mb.bin
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]