Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.26k stars 4.6k forks source link

[BUG] CheckpointBatchTest Failing on .NET Framework #7492

Closed chidozieononiwu closed 4 years ago

chidozieononiwu commented 5 years ago

Describe the bug CheckpointBatchTest Fails randomly on .NET Framework

Exception or Stack Trace

22:44:36.0911952: End Microsoft.Azure.EventHubs.Tests.ServiceFabricProcessor.CheckpointingTests.CheckpointBatchTest
22:44:36.0911952: Begin Microsoft.Azure.EventHubs.Tests.ServiceFabricProcessor.CheckpointingTests.CheckpointEventTest on .NETFramework,Version=v4.5.1
  X Microsoft.Azure.EventHubs.Tests.ServiceFabricProcessor.CheckpointingTests.CheckpointBatchTest [10s 20ms]
  Error Message:
   Unexpected change in sequence number from 800 to 791
Expected: True
Actual:   False
  Stack Trace:
     at Microsoft.Azure.EventHubs.Tests.ServiceFabricProcessor.CheckpointingTests.CheckpointBatchTest() in D:\a\1\AzureSDKEngSystem\Net\SourceDirectory\sdk\eventhub\Microsoft.Azure.EventHubs\tests\ServiceFabricProcessor\CheckpointingTests.cs:line 81
Results File: D:\a\1\AzureSDKEngSystem\Net\SourceDirectory\sdk\eventhub\Azure.Messaging.EventHubs\tests\TestResults\net461.trx

To Reproduce Steps to reproduce the behavior: Queue PR Build

Expected behavior Test fails randomly

jsquire commented 5 years ago

This test has been marked as flaky and will be skipped in builds going forward. Tracking using #7435

pakrym commented 4 years ago

Now failing on netcoreapp:


 X Microsoft.Azure.EventHubs.Tests.ServiceFabricProcessor.CheckpointingTests.CheckpointBatchTest [5s 56ms]
  Error Message:
   Unexpected change in sequence number from 290 to 281
Expected: True
Actual:   False
  Stack Trace:
     at Microsoft.Azure.EventHubs.Tests.ServiceFabricProcessor.CheckpointingTests.CheckpointBatchTest() in D:\a\1\s\sdk\eventhub\Microsoft.Azure.EventHubs\tests\ServiceFabricProcessor\CheckpointingTests.cs:line 81

``
jsquire commented 4 years ago

Looks like the skip was removed; marked again and updated the issue tracking Service Fabric Processor test issues. See #9799 and #7472

jsquire commented 4 years ago

Closing this as #9799 has merged and the test should no longer be active.