Skip to content

Commit 1d19318

Browse files
authored
Fix tests using decommisioned nodejs18 version (#15732)
1 parent 1378637 commit 1d19318

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

mmv1/third_party/terraform/services/bigquery/resource_bigquery_routine_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ resource "google_cloudfunctions2_function" "default" {
229229
description = "a new function"
230230
231231
build_config {
232-
runtime = "nodejs18"
232+
runtime = "nodejs20"
233233
entry_point = "helloHttp"
234234
source {
235235
storage_source {
@@ -296,7 +296,7 @@ resource "google_cloudfunctions2_function" "default2" {
296296
description = "a new new function"
297297
298298
build_config {
299-
runtime = "nodejs18"
299+
runtime = "nodejs20"
300300
entry_point = "helloHttp"
301301
source {
302302
storage_source {

mmv1/third_party/terraform/services/cloudfunctions2/data_source_google_cloudfunctions2_function_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ resource "google_cloudfunctions2_function" "function_http_v2" {
6262
env = "test"
6363
}
6464
build_config {
65-
runtime = "nodejs18"
65+
runtime = "nodejs20"
6666
entry_point = "helloHttp"
6767
source {
6868
storage_source {

mmv1/third_party/terraform/services/cloudfunctions2/resource_cloudfunctions2_function_test.go.tmpl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
7878
}
7979

8080
build_config {
81-
runtime = "nodejs18"
81+
runtime = "nodejs20"
8282
entry_point = "helloHttp"
8383
source {
8484
storage_source {
@@ -120,7 +120,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
120120
}
121121

122122
build_config {
123-
runtime = "nodejs18"
123+
runtime = "nodejs20"
124124
entry_point = "helloHttp"
125125
source {
126126
storage_source {
@@ -158,7 +158,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
158158
description = "function test"
159159

160160
build_config {
161-
runtime = "nodejs18"
161+
runtime = "nodejs20"
162162
entry_point = "helloHttp"
163163
environment_variables = {
164164
BUILD_CONFIG_TEST = "build_test"
@@ -280,7 +280,7 @@ resource "google_cloudfunctions2_function" "function" {
280280
description = "a new function"
281281

282282
build_config {
283-
runtime = "nodejs18"
283+
runtime = "nodejs20"
284284
entry_point = "entryPoint" # Set the entry point in the code
285285
environment_variables = {
286286
BUILD_CONFIG_TEST = "build_test"
@@ -394,7 +394,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
394394
}
395395

396396
build_config {
397-
runtime = "nodejs18"
397+
runtime = "nodejs20"
398398
entry_point = "helloHttp"
399399
source {
400400
storage_source {
@@ -437,7 +437,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
437437
}
438438

439439
build_config {
440-
runtime = "nodejs18"
440+
runtime = "nodejs20"
441441
entry_point = "helloHttp"
442442
source {
443443
storage_source {
@@ -478,7 +478,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
478478
}
479479

480480
build_config {
481-
runtime = "nodejs18"
481+
runtime = "nodejs20"
482482
entry_point = "helloHttp"
483483
source {
484484
storage_source {
@@ -541,7 +541,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
541541
}
542542

543543
build_config {
544-
runtime = "nodejs18"
544+
runtime = "nodejs20"
545545
entry_point = "helloHttp"
546546
source {
547547
storage_source {
@@ -621,7 +621,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" {
621621
}
622622

623623
build_config {
624-
runtime = "nodejs18"
624+
runtime = "nodejs20"
625625
entry_point = "helloHttp"
626626
source {
627627
storage_source {

0 commit comments

Comments
 (0)