feat: more_tests #85
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:
|
||||
test_timeout_string:
|
||||
description: "string that determines the timeout (default: 45m)"
|
||||
default: '45m'
|
||||
default: '90m'
|
||||
required: true
|
||||
|
||||
go-version:
|
||||
|
|
|
|||
|
|
@ -144,7 +144,11 @@ func CreateInstanceWaitHandler(
|
|||
time.Sleep(5 * time.Second)
|
||||
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
|
||||
// return true, s, fmt.Errorf("create failed for instance with id %s", instanceId)
|
||||
}
|
||||
|
|
@ -216,7 +220,11 @@ func PartialUpdateInstanceWaitHandler(
|
|||
time.Sleep(5 * time.Second)
|
||||
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