fix: adjust acceptance test action
[skip ci]
This commit is contained in:
parent
6de8c5ee96
commit
1ebc62b594
2 changed files with 11 additions and 3 deletions
2
.github/actions/acc_test/action.yaml
vendored
2
.github/actions/acc_test/action.yaml
vendored
|
|
@ -4,7 +4,7 @@ description: "Acceptance Testing pipeline"
|
||||||
inputs:
|
inputs:
|
||||||
test_timeout_string:
|
test_timeout_string:
|
||||||
description: "string that determines the timeout (default: 45m)"
|
description: "string that determines the timeout (default: 45m)"
|
||||||
default: '45m'
|
default: '90m'
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
go-version:
|
go-version:
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,11 @@ func CreateInstanceWaitHandler(
|
||||||
time.Sleep(5 * time.Second)
|
time.Sleep(5 * time.Second)
|
||||||
return false, nil, nil
|
return false, nil, nil
|
||||||
}
|
}
|
||||||
return true, s, fmt.Errorf("update got status FAILURE for instance with id %s", instanceId)
|
return true, s, fmt.Errorf(
|
||||||
|
"update got status FAILURE for instance with id %s after %d retries",
|
||||||
|
failedCount,
|
||||||
|
instanceId,
|
||||||
|
)
|
||||||
// API responds with FAILURE for some seconds and then the instance goes to READY
|
// API responds with FAILURE for some seconds and then the instance goes to READY
|
||||||
// return true, s, fmt.Errorf("create failed for instance with id %s", instanceId)
|
// return true, s, fmt.Errorf("create failed for instance with id %s", instanceId)
|
||||||
}
|
}
|
||||||
|
|
@ -216,7 +220,11 @@ func PartialUpdateInstanceWaitHandler(
|
||||||
time.Sleep(5 * time.Second)
|
time.Sleep(5 * time.Second)
|
||||||
return false, nil, nil
|
return false, nil, nil
|
||||||
}
|
}
|
||||||
return true, s, fmt.Errorf("update got status FAILURE for instance with id %s", instanceID)
|
return true, s, fmt.Errorf(
|
||||||
|
"update got status FAILURE for instance with id %s after %d retries",
|
||||||
|
failedCount,
|
||||||
|
instanceID,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue