lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucenenet] NightOwl888 opened a new issue #363: Investigate Failing Test: Lucene.Net.Replicator.Http.HttpReplicatorTest::TestBasic()
Date Tue, 06 Oct 2020 15:35:01 GMT

NightOwl888 opened a new issue #363:
URL: https://github.com/apache/lucenenet/issues/363


   This test failure began occurring when we set up the [nightly build](https://dev.azure.com/lucene-net/Lucene.NET/_build?definitionId=4&_a=summary).
   
   Note that the failure could have something to do with changing the nightly limits of [Rarely()](https://github.com/apache/lucenenet/blob/f0930a5f8df377cccc428dcfeba02ea4098a6dee/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs#L1405)
and [AtLeast()](https://github.com/apache/lucenenet/blob/f0930a5f8df377cccc428dcfeba02ea4098a6dee/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs#L1384)
which were changed to try to make the nightly tests run in under 1 hour.
   
   ```
   Error message
   System.Threading.Tasks.TaskCanceledException : A task was canceled.
   
   
   Stack trace
      at Microsoft.AspNetCore.TestHost.ResponseStream.ReadAsync(Byte[] buffer, Int32 offset,
Int32 count, CancellationToken cancellationToken)
      at System.IO.Stream.CopyToAsyncInternal(Stream destination, Int32 bufferSize, CancellationToken
cancellationToken)
      at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream
tempBuffer)
      at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage
request, CancellationTokenSource cts, Boolean disposeCts)
      at Lucene.Net.Replicator.Http.HttpClientBase.ExecuteGet(String request, String[] parameters)
in D:\a\1\s\src\Lucene.Net.Replicator\Http\HttpClientBase.cs:line 229
      at Lucene.Net.Replicator.Http.HttpReplicator.CheckForUpdate(String currentVersion) in
D:\a\1\s\src\Lucene.Net.Replicator\Http\HttpReplicator.cs:line 71
      at Lucene.Net.Replicator.ReplicationClient.DoUpdate() in D:\a\1\s\src\Lucene.Net.Replicator\ReplicationClient.cs:line
228
      at Lucene.Net.Replicator.ReplicationClient.UpdateNow() in D:\a\1\s\src\Lucene.Net.Replicator\ReplicationClient.cs:line
472
      at Lucene.Net.Replicator.Http.HttpReplicatorTest.TestBasic() in D:\a\1\s\src\Lucene.Net.Tests.Replicator\Http\HttpReplicatorTest.cs:line
103
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message