Increase timeout for kubectl test (#2100)

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2021-07-05 14:57:11 +05:30
committed by GitHub
parent d5077ee816
commit 43814450e5
4 changed files with 21 additions and 10 deletions
+4 -4
View File
@@ -31,17 +31,17 @@ pkgName="go-b4bbb0e0-2d93-47f0-8c4e-eea644eec2a9"
kubectl apply -f spec-yaml -R
# wait for build to finish
timeout 90 bash -c "wait_for_builder $name"
timeout 90 bash -c "waitBuildExpectedStatus $pkgName failed"
timeout 180 bash -c "wait_for_builder $name"
timeout 180 bash -c "waitBuildExpectedStatus $pkgName failed"
sed -i 's/gogo/go/g' spec-yaml/function-go.yaml
# before we enable "/status" this should be failed.
kubectl apply -f spec-yaml/function-go.yaml
timeout 90 bash -c "waitBuildExpectedStatus $pkgName failed"
timeout 180 bash -c "waitBuildExpectedStatus $pkgName failed"
kubectl replace -f spec-yaml/function-go.yaml
timeout 90 bash -c "waitBuild $pkgName"
timeout 180 bash -c "waitBuild $pkgName"
fission fn test --name $name