feat: more_tests #85

Merged
marcel.henselin merged 26 commits from feat/more_tests into alpha 2026-03-17 15:02:08 +00:00
3 changed files with 5 additions and 21 deletions
Showing only changes of commit 3682d40a05 - Show all commits

View file

@ -225,7 +225,7 @@ jobs:
export TF_ACC_SERVICE_ACCOUNT_FILE
make test
- name: Testing
- name: Testing with coverage
if: ${{ github.event_name == 'pull_request' }}
run: |
TF_ACC_SERVICE_ACCOUNT_FILE=~/.service_account.json

View file

@ -493,7 +493,10 @@ func (r *instanceResource) Update(
projectID,
region,
instanceID,
).WaitWithContext(ctx)
).
SetTimeout(30 * time.Minute).
SetSleepBeforeWait(10 * time.Second).
WaitWithContext(ctx)
if err != nil {
core.LogAndAddError(
ctx,

View file

@ -151,27 +151,8 @@ func TestAccInstance(t *testing.T) {
updNetACL := updBackupSched
updNetACL.ACLStrings = append(updNetACL.ACLStrings, "192.168.0.0/24")
/*
{
"flavorId": "1.2",
"network": {
"acl": [
"198.51.100.0/24"
]
},
"replicas": 1,
"retentionDays": 35,
"storage": {
"size": 10
},
"version": "string"
}
*/
testItemID := testutils.ResStr(pfx, "instance", exData.TfName)
compareValuesSame := statecheck.CompareValue(compare.ValuesSame())
resource.ParallelTest(
t, resource.TestCase{
PreCheck: func() {