diff --git a/pkg/test/resourcefixture/testdata/basic/compute/v1beta1/computemanagedsslcertificate/_generated_object_computemanagedsslcertificate.golden.yaml b/pkg/test/resourcefixture/testdata/basic/compute/v1beta1/computemanagedsslcertificate/_generated_object_computemanagedsslcertificate.golden.yaml index d9b2c00806..2e0ed48726 100644 --- a/pkg/test/resourcefixture/testdata/basic/compute/v1beta1/computemanagedsslcertificate/_generated_object_computemanagedsslcertificate.golden.yaml +++ b/pkg/test/resourcefixture/testdata/basic/compute/v1beta1/computemanagedsslcertificate/_generated_object_computemanagedsslcertificate.golden.yaml @@ -28,6 +28,6 @@ status: type: Ready observedGeneration: 1 observedState: - certificateID: "1.719337333063698e+18" + certificateID: 1111111111111111 creationTimestamp: "1970-01-01T00:00:00Z" selfLink: https://compute.googleapis.com/compute/v1/projects/${projectId}/global/sslCertificates/computemanagedsslcertificate-${uniqueId} diff --git a/pkg/test/resourcefixture/testdata/basic/compute/v1beta1/computetargetvpngateway/_generated_object_computetargetvpngateway.golden.yaml b/pkg/test/resourcefixture/testdata/basic/compute/v1beta1/computetargetvpngateway/_generated_object_computetargetvpngateway.golden.yaml index 9d640fd543..0ca357b0ba 100644 --- a/pkg/test/resourcefixture/testdata/basic/compute/v1beta1/computetargetvpngateway/_generated_object_computetargetvpngateway.golden.yaml +++ b/pkg/test/resourcefixture/testdata/basic/compute/v1beta1/computetargetvpngateway/_generated_object_computetargetvpngateway.golden.yaml @@ -26,6 +26,6 @@ status: status: "True" type: Ready creationTimestamp: "1970-01-01T00:00:00Z" - gatewayId: "1.719337333063698e+18" + gatewayId: 1111111111111111 observedGeneration: 2 selfLink: https://compute.googleapis.com/compute/v1/projects/${projectId}/regions/us-central1/targetVpnGateways/computevpngateway-${uniqueId} diff --git a/tests/e2e/normalize.go b/tests/e2e/normalize.go index 0455671fb1..12ece0ccfb 100644 --- a/tests/e2e/normalize.go +++ b/tests/e2e/normalize.go @@ -104,9 +104,9 @@ func normalizeKRMObject(u *unstructured.Unstructured, project testgcp.GCPProject visitor.replacePaths[".status.observedState.softDeletePolicy.effectiveTime"] = "1970-01-01T00:00:00Z" // Specific to Compute - visitor.replacePaths[".status.observedState.certificateID"] = "1.719337333063698e+18" + visitor.replacePaths[".status.observedState.certificateID"] = 1111111111111111 visitor.replacePaths[".status.instanceId"] = "1111111111111111" - visitor.replacePaths[".status.gatewayId"] = "1.719337333063698e+18" + visitor.replacePaths[".status.gatewayId"] = 1111111111111111 // Specific to MonitoringDashboard visitor.stringTransforms = append(visitor.stringTransforms, func(path string, s string) string {