Skip to content

Commit ec8d20f

Browse files
committed
newer version of wrapper
1 parent a00320b commit ec8d20f

File tree

3 files changed

+11
-27
lines changed

3 files changed

+11
-27
lines changed

tests/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ toolchain go1.25.0
66

77
require (
88
github.com/gruntwork-io/terratest v0.50.0
9-
github.com/stretchr/testify v1.10.0
10-
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.0
9+
github.com/stretchr/testify v1.11.1
10+
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.2
1111
)
1212

1313
require (
@@ -16,7 +16,7 @@ require (
1616
github.com/IBM-Cloud/power-go-client v1.12.0 // indirect
1717
github.com/IBM/cloud-databases-go-sdk v0.8.0 // indirect
1818
github.com/IBM/go-sdk-core/v5 v5.21.0 // indirect
19-
github.com/IBM/platform-services-go-sdk v0.86.0 // indirect
19+
github.com/IBM/platform-services-go-sdk v0.86.1 // indirect
2020
github.com/IBM/project-go-sdk v0.3.6 // indirect
2121
github.com/IBM/schematics-go-sdk v0.4.0 // indirect
2222
github.com/IBM/vpc-go-sdk v1.0.2 // indirect

tests/go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ github.com/IBM/cloud-databases-go-sdk v0.8.0/go.mod h1:JYucI1PdwqbAd8XGdDAchxzxR
99
github.com/IBM/go-sdk-core/v5 v5.9.2/go.mod h1:YlOwV9LeuclmT/qi/LAK2AsobbAP42veV0j68/rlZsE=
1010
github.com/IBM/go-sdk-core/v5 v5.21.0 h1:DUnYhvC4SoC8T84rx5omnhY3+xcQg/Whyoa3mDPIMkk=
1111
github.com/IBM/go-sdk-core/v5 v5.21.0/go.mod h1:Q3BYO6iDA2zweQPDGbNTtqft5tDcEpm6RTuqMlPcvbw=
12-
github.com/IBM/platform-services-go-sdk v0.86.0 h1:Uqne0Z/P9e++WfRt1aN8DD55kyo/T15+7EipYktRIDQ=
13-
github.com/IBM/platform-services-go-sdk v0.86.0/go.mod h1:aGD045m6I8pfcB77wft8w2cHqWOJjcM3YSSV55BX0Js=
12+
github.com/IBM/platform-services-go-sdk v0.86.1 h1:ngBpaXvUF3gmLvbU1Z4lX1wowOSYgGoKBEBaR/urt30=
13+
github.com/IBM/platform-services-go-sdk v0.86.1/go.mod h1:aGD045m6I8pfcB77wft8w2cHqWOJjcM3YSSV55BX0Js=
1414
github.com/IBM/project-go-sdk v0.3.6 h1:DRiANKnAePevFsIKSvR89SUaMa2xsd7YKK71Ka1eqKI=
1515
github.com/IBM/project-go-sdk v0.3.6/go.mod h1:FOJM9ihQV3EEAY6YigcWiTNfVCThtdY8bLC/nhQHFvo=
1616
github.com/IBM/schematics-go-sdk v0.4.0 h1:x01f/tPquYJYLQzJLGuxWfCbV/EdSMXRikOceNy/JLM=
@@ -293,10 +293,10 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
293293
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
294294
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
295295
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
296-
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
297-
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
298-
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.0 h1:bGNtXPKstiUJAQZXmXhKzVrK4UkR1S5btcfT1QA/QRg=
299-
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.0/go.mod h1:kdhZ+FeS71D+tB0E2Sh1ISD3zQ+RThPX5SyFqduo7G8=
296+
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
297+
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
298+
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.2 h1:0Y9pUFH0pahpO7nxrGKr/stJMT/Ode+ClYN1pubqBVM=
299+
github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.2/go.mod h1:9Thq3InVLYHEtKIVABm8e1d7jvpIQqlKCJ8/d5wH6DY=
300300
github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk=
301301
github.com/tmccombs/hcl2json v0.6.4 h1:/FWnzS9JCuyZ4MNwrG4vMrFrzRgsWEOVi+1AyYUVLGw=
302302
github.com/tmccombs/hcl2json v0.6.4/go.mod h1:+ppKlIW3H5nsAsZddXPy2iMyvld3SHxyjswOZhavRDk=

tests/pr_test.go

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"os"
77
"strings"
88
"testing"
9-
"time"
109

1110
"github.com/gruntwork-io/terratest/modules/files"
1211
"github.com/gruntwork-io/terratest/modules/logger"
@@ -368,18 +367,6 @@ func TestVpcAddonDefaultConfiguration(t *testing.T) {
368367
},
369368
)
370369

371-
// Configure catalog operation retries (offering fetches, catalog operations)
372-
catalogRetry := common.CatalogOperationRetryConfig() // Get default config
373-
catalogRetry.InitialDelay = 10 * time.Second // Longer initial delay
374-
catalogRetry.Strategy = common.ExponentialBackoff // Use exponential backoff instead of linear
375-
options.CatalogRetryConfig = &catalogRetry
376-
377-
// Configure deployment operation retries
378-
deployRetry := common.DefaultRetryConfig() // Get default config
379-
deployRetry.MaxRetries = 5 // Set Max retries to 5
380-
deployRetry.InitialDelay = 10 * time.Second // Longer initial delay
381-
options.DeployRetryConfig = &deployRetry
382-
383370
err := options.RunAddonTest()
384371
require.NoError(t, err)
385372
}
@@ -389,11 +376,8 @@ func TestVpcDependencyPermutations(t *testing.T) {
389376

390377
t.Parallel()
391378
options := testaddons.TestAddonsOptionsDefault(&testaddons.TestAddonOptions{
392-
Testing: t,
393-
Prefix: "vpc-per",
394-
StaggerDelay: testaddons.StaggerDelay(20 * time.Second), // 20s delay between batches
395-
StaggerBatchSize: testaddons.StaggerBatchSize(4), // 4 tests per batch
396-
WithinBatchDelay: testaddons.WithinBatchDelay(3 * time.Second), // 3s delay within batch
379+
Testing: t,
380+
Prefix: "vpc-per",
397381
AddonConfig: cloudinfo.AddonConfig{
398382
OfferingName: "deploy-arch-ibm-vpc",
399383
OfferingFlavor: "fully-configurable",

0 commit comments

Comments
 (0)