Skip to content

Commit

Permalink
Increase timeouts to fix flaky ServiceFabricProcessor test cases (#7446)
Browse files Browse the repository at this point in the history
Most of the flaky cases are just starting slowly in a loaded, shared testbed. Increased the timeout, looks OK now.
  • Loading branch information
JamesBirdsall authored Aug 30, 2019
1 parent 6f3245c commit 8c9b819
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Microsoft.Azure.EventHubs.Tests.ServiceFabricProcessor

public class CheckpointingTests
{
[Fact(Skip = "Test not reliable under macOS; to be investigated as art of issue #5451")]
[Fact]
[DisplayTestMethodName]
public void CheckpointBatchTest()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public void NonTransientEventHubReceiveFailure()
EventHubReceiveFailure("NonTransient", new ReceiverDisconnectedException("ErrorInjector"), true);
}

[Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/7335")]
[Fact]
[DisplayTestMethodName]
public void HardEventHubReceiveFailure()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public void IgnoreInitialPositionProviderTest()
Assert.Null(state.ShutdownException);
}

[Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6056")]
[Fact]
[DisplayTestMethodName]
public void RuntimeInformationTest()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void VerifyNormalStartup(int maxRetries)
int retries = 0;
while (!this.Processor.IsOpened && !this.HasShutDown && (retries < maxRetries))
{
Thread.Sleep(1000);
Thread.Sleep(5000);
retries++;
}
Assert.False(this.HasShutDown, "Shut down before open");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void EventException()
Assert.Null(state.ShutdownException);
}

[Fact(Skip = "Test not reliable under macOS; to be investigated as art of issue #5451")]
[Fact]
[DisplayTestMethodName]
public void ErrorException()
{
Expand Down

0 comments on commit 8c9b819

Please sign in to comment.