Skip to content

Commit 446c3c0

Browse files
committed
use TestBase.RequestTimeout
1 parent e4f7125 commit 446c3c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/UiPath.CoreIpc.Tests/EndpointTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace UiPath.CoreIpc.Tests
1111
{
1212
public class EndpointTests : IDisposable
1313
{
14-
private static readonly TimeSpan RequestTimeout = TimeSpan.FromSeconds(2);
14+
private static TimeSpan RequestTimeout => TestBase.RequestTimeout;
1515
private readonly ServiceHost _host;
1616
private readonly IComputingService _computingClient;
1717
private readonly ISystemService _systemClient;

src/UiPath.CoreIpc.Tests/TestBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public abstract class TestBase : IDisposable
99
{
1010
protected const int MaxReceivedMessageSizeInMegabytes = 1;
1111
protected static int Count = -1;
12-
protected static readonly TimeSpan RequestTimeout =
12+
public static readonly TimeSpan RequestTimeout =
1313
#if CI
1414
TimeSpan.FromSeconds(2) +
1515
#endif

0 commit comments

Comments
 (0)