2
0
mirror of synced 2025-01-19 13:02:05 +00:00

31 lines
640 B
C#
Raw Normal View History

namespace CodexDistTests.TestCore
{
public static class Timing
{
public static TimeSpan HttpCallTimeout()
{
2023-03-19 11:40:05 +01:00
return TimeSpan.FromSeconds(10);
}
public static int HttpCallRetryCount()
{
return 5;
}
public static void RetryDelay()
{
Utils.Sleep(TimeSpan.FromSeconds(3));
}
2023-03-19 11:40:05 +01:00
public static void WaitForK8sServiceDelay()
{
Utils.Sleep(TimeSpan.FromSeconds(1));
}
2023-03-19 11:40:05 +01:00
public static TimeSpan K8sOperationTimeout()
{
return TimeSpan.FromMinutes(5);
}
}
}