Skip to content

Commit 18ff322

Browse files
authored
[Event Hubs Extensions] Update test timeout (Azure#30850)
The focus of these changes is to shift to using the test execution timeout defined in the test environment for extensions tests. There has been a high amount of failures in nightly runs due to hitting the custom short timeout.
1 parent abd40ff commit 18ff322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/tests/WebJobsEventHubTestBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.WebJobs.Host.EndToEndTests
1616
public class WebJobsEventHubTestBase
1717
{
1818
protected const string TestHubName = "%webjobstesthub%";
19-
protected static readonly int Timeout = (int)TimeSpan.FromSeconds(90).TotalMilliseconds;
19+
protected static readonly int Timeout = (int)EventHubsTestEnvironment.Instance.TestExecutionTimeLimit.TotalMilliseconds;
2020

2121
/// <summary>The active Event Hub resource scope for the test fixture.</summary>
2222
protected EventHubScope _eventHubScope;

0 commit comments

Comments
 (0)