mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-10 01:13:07 +00:00
31 lines
640 B
C#
31 lines
640 B
C#
namespace CodexDistTests.TestCore
|
|
{
|
|
public static class Timing
|
|
{
|
|
public static TimeSpan HttpCallTimeout()
|
|
{
|
|
return TimeSpan.FromSeconds(10);
|
|
}
|
|
|
|
public static int HttpCallRetryCount()
|
|
{
|
|
return 5;
|
|
}
|
|
|
|
public static void RetryDelay()
|
|
{
|
|
Utils.Sleep(TimeSpan.FromSeconds(3));
|
|
}
|
|
|
|
public static void WaitForK8sServiceDelay()
|
|
{
|
|
Utils.Sleep(TimeSpan.FromSeconds(1));
|
|
}
|
|
|
|
public static TimeSpan K8sOperationTimeout()
|
|
{
|
|
return TimeSpan.FromMinutes(5);
|
|
}
|
|
}
|
|
}
|