Bump k8s operation timeout for long timeset

This commit is contained in:
benbierens 2024-04-14 09:29:13 +02:00
parent 015d8da21d
commit 86074dab6a
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A
3 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@
TimeSpan HttpCallTimeout();
int HttpMaxNumberOfRetries();
TimeSpan HttpCallRetryDelay();
TimeSpan WaitForK8sServiceDelay();
TimeSpan K8sOperationRetryDelay();
TimeSpan K8sOperationTimeout();
}
@ -26,7 +26,7 @@
return TimeSpan.FromSeconds(1);
}
public TimeSpan WaitForK8sServiceDelay()
public TimeSpan K8sOperationRetryDelay()
{
return TimeSpan.FromSeconds(10);
}
@ -54,14 +54,14 @@
return TimeSpan.FromSeconds(2);
}
public TimeSpan WaitForK8sServiceDelay()
public TimeSpan K8sOperationRetryDelay()
{
return TimeSpan.FromSeconds(10);
return TimeSpan.FromSeconds(30);
}
public TimeSpan K8sOperationTimeout()
{
return TimeSpan.FromMinutes(15);
return TimeSpan.FromHours(1);
}
}
}

View File

@ -36,7 +36,7 @@ namespace DistTestCore
var config = new KubernetesWorkflow.Configuration(
kubeConfigFile: kubeConfigFile,
operationTimeout: timeSet.K8sOperationTimeout(),
retryDelay: timeSet.WaitForK8sServiceDelay(),
retryDelay: timeSet.K8sOperationRetryDelay(),
kubernetesNamespace: k8sNamespace
);

View File

@ -270,7 +270,7 @@ namespace CodexNetDeployer
return TimeSpan.FromMinutes(10);
}
public TimeSpan WaitForK8sServiceDelay()
public TimeSpan K8sOperationRetryDelay()
{
return TimeSpan.FromSeconds(30);
}