File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ virtual_fields:
7474 This must be set to true if you created a backup manually in the console.
7575 type : Boolean
7676 default_value : false
77+ tgc_tests :
78+ - name : ' TestAccSpannerInstance_basicWithAutoscalingUsingNodeConfigUpdateDisableAutoscaling'
79+ skip : ' sometimes the CAI asset data for step3 is unavailable'
7780parameters :
7881properties :
7982 - name : ' name'
Original file line number Diff line number Diff line change @@ -377,15 +377,15 @@ func (tgc TerraformGoogleConversionNext) addTestsFromHandwrittenTests(object *ap
377377 }
378378
379379 matches := testRegex .FindAllSubmatch (data , - 1 )
380- tests := make ([]resource.TGCTest , len ( matches ) )
381- for i , match := range matches {
380+ tests := make ([]resource.TGCTest , 0 )
381+ for _ , match := range matches {
382382 if len (match ) == 2 {
383383 if _ , ok := testNamesInYAML [string (match [1 ])]; ok {
384384 continue
385385 }
386- tests [ i ] = resource.TGCTest {
386+ tests = append ( tests , resource.TGCTest {
387387 Name : string (match [1 ]),
388- }
388+ })
389389 }
390390 }
391391
You can’t perform that action at this time.
0 commit comments