Skip to content

Commit 8036851

Browse files
committed
test: exclude individually tested API groups and add videostitcher mock HTTP logs
1 parent d2afb65 commit 8036851

3 files changed

Lines changed: 446 additions & 0 deletions

File tree

dev/ci/presubmits/tests-e2e-fixtures

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,21 @@ cd ${REPO_ROOT}/
2929
SKIP_TEST_APIGROUPS=(
3030
"accesscontextmanager.cnrm.cloud.google.com"
3131
"aiplatform.cnrm.cloud.google.com"
32+
"aistreams.cnrm.cloud.google.com"
3233
"alloydb.cnrm.cloud.google.com"
3334
"analytics.cnrm.cloud.google.com"
3435
"apigateway.cnrm.cloud.google.com"
3536
"apigee.cnrm.cloud.google.com"
37+
"apigeeregistry.cnrm.cloud.google.com"
38+
"apihub.cnrm.cloud.google.com"
3639
"apikeys.cnrm.cloud.google.com"
3740
"appengine.cnrm.cloud.google.com"
3841
"apphub.cnrm.cloud.google.com"
42+
"appoptimize.cnrm.cloud.google.com"
3943
"artifactregistry.cnrm.cloud.google.com"
4044
"asset.cnrm.cloud.google.com"
4145
"assuredworkloads.cnrm.cloud.google.com"
46+
"automl.cnrm.cloud.google.com"
4247
"backupdr.cnrm.cloud.google.com"
4348
"batch.cnrm.cloud.google.com"
4449
"beyondcorp.cnrm.cloud.google.com"
@@ -48,6 +53,7 @@ SKIP_TEST_APIGROUPS=(
4853
"bigqueryconnection.cnrm.cloud.google.com"
4954
"bigquerydatapolicy.cnrm.cloud.google.com"
5055
"bigquerydatatransfer.cnrm.cloud.google.com"
56+
"bigquerymigration.cnrm.cloud.google.com"
5157
"bigqueryreservation.cnrm.cloud.google.com"
5258
"bigtable.cnrm.cloud.google.com"
5359
"billing.cnrm.cloud.google.com"
@@ -66,24 +72,33 @@ SKIP_TEST_APIGROUPS=(
6672
"cloudiot.cnrm.cloud.google.com"
6773
"cloudquota.cnrm.cloud.google.com"
6874
"cloudscheduler.cnrm.cloud.google.com"
75+
"cloudsecuritycompliance.cnrm.cloud.google.com"
6976
"cloudtasks.cnrm.cloud.google.com"
7077
"colab.cnrm.cloud.google.com"
7178
"composer.cnrm.cloud.google.com"
7279
"compute.cnrm.cloud.google.com"
7380
"configcontroller.cnrm.cloud.google.com"
7481
"configdelivery.cnrm.cloud.google.com"
82+
"connectors.cnrm.cloud.google.com"
83+
"contactcenterinsights.cnrm.cloud.google.com"
7584
"container.cnrm.cloud.google.com"
7685
"containeranalysis.cnrm.cloud.google.com"
7786
"containerattached.cnrm.cloud.google.com"
87+
"contentwarehouse.cnrm.cloud.google.com"
7888
"datacatalog.cnrm.cloud.google.com"
7989
"dataflow.cnrm.cloud.google.com"
8090
"dataform.cnrm.cloud.google.com"
8191
"datafusion.cnrm.cloud.google.com"
92+
"datalabeling.cnrm.cloud.google.com"
93+
"datalineage.cnrm.cloud.google.com"
94+
"datamigration.cnrm.cloud.google.com"
8295
"dataplex.cnrm.cloud.google.com"
8396
"dataproc.cnrm.cloud.google.com"
8497
"datastore.cnrm.cloud.google.com"
8598
"datastream.cnrm.cloud.google.com"
8699
"deploymentmanager.cnrm.cloud.google.com"
100+
"developerconnect.cnrm.cloud.google.com"
101+
"devicestreaming.cnrm.cloud.google.com"
87102
"dialogflow.cnrm.cloud.google.com"
88103
"dialogflowcx.cnrm.cloud.google.com"
89104
"discoveryengine.cnrm.cloud.google.com"
@@ -100,6 +115,7 @@ SKIP_TEST_APIGROUPS=(
100115
"firebasehosting.cnrm.cloud.google.com"
101116
"firebasestorage.cnrm.cloud.google.com"
102117
"firestore.cnrm.cloud.google.com"
118+
"geminidataanalytics.cnrm.cloud.google.com"
103119
"gkebackup.cnrm.cloud.google.com"
104120
"gkehub.cnrm.cloud.google.com"
105121
"healthcare.cnrm.cloud.google.com"
@@ -113,6 +129,7 @@ SKIP_TEST_APIGROUPS=(
113129
"memorystore.cnrm.cloud.google.com"
114130
"metastore.cnrm.cloud.google.com"
115131
"mlengine.cnrm.cloud.google.com"
132+
"modelarmor.cnrm.cloud.google.com"
116133
"monitoring.cnrm.cloud.google.com"
117134
"netapp.cnrm.cloud.google.com"
118135
"networkconnectivity.cnrm.cloud.google.com"
@@ -132,6 +149,7 @@ SKIP_TEST_APIGROUPS=(
132149
"redis.cnrm.cloud.google.com"
133150
"resourcemanager.cnrm.cloud.google.com"
134151
"run.cnrm.cloud.google.com"
152+
"saasservicemgmt.cnrm.cloud.google.com"
135153
"secretmanager.cnrm.cloud.google.com"
136154
"securesourcemanager.cnrm.cloud.google.com"
137155
"securitycenter.cnrm.cloud.google.com"
@@ -145,7 +163,9 @@ SKIP_TEST_APIGROUPS=(
145163
"storage.cnrm.cloud.google.com"
146164
"storagetransfer.cnrm.cloud.google.com"
147165
"tags.cnrm.cloud.google.com"
166+
"testing.cnrm.cloud.google.com"
148167
"tpu.cnrm.cloud.google.com"
168+
"vectorsearch.cnrm.cloud.google.com"
149169
"vertexai.cnrm.cloud.google.com"
150170
"vmwareengine.cnrm.cloud.google.com"
151171
"vpcaccess.cnrm.cloud.google.com"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,260 @@
1+
GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
2+
3+
{
4+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
5+
}
6+
7+
error: rpc error: code = NotFound desc = Resource 'projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}' was not found
8+
9+
{}
10+
11+
---
12+
13+
GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/CreateCdnKey
14+
15+
{
16+
"cdnKey": {
17+
"googleCdnKey": {
18+
"keyName": "test-key-name",
19+
"privateKey": "c2VjcmV0"
20+
},
21+
"hostname": "test-hostname-${uniqueId}.com"
22+
},
23+
"cdnKeyId": "videostitchercdnkey-${uniqueId}",
24+
"parent": "projects/${projectId}/locations/us-central1"
25+
}
26+
27+
OK
28+
29+
{
30+
"metadata": {
31+
"@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
32+
"createTime": "2024-04-01T12:34:56.123456Z",
33+
"target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
34+
"verb": "create"
35+
},
36+
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
37+
}
38+
39+
---
40+
41+
GRPC /google.longrunning.Operations/GetOperation
42+
43+
{
44+
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
45+
}
46+
47+
OK
48+
49+
{
50+
"done": true,
51+
"metadata": {
52+
"@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
53+
"createTime": "2024-04-01T12:34:56.123456Z",
54+
"endTime": "2024-04-01T12:34:56.123456Z",
55+
"target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
56+
"verb": "create"
57+
},
58+
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
59+
"response": {
60+
"@type": "type.googleapis.com/google.cloud.video.stitcher.v1.CdnKey",
61+
"googleCdnKey": {
62+
"keyName": "test-key-name"
63+
},
64+
"hostname": "test-hostname-${uniqueId}.com",
65+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
66+
}
67+
}
68+
69+
---
70+
71+
GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
72+
73+
{
74+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
75+
}
76+
77+
OK
78+
79+
{
80+
"googleCdnKey": {
81+
"keyName": "test-key-name"
82+
},
83+
"hostname": "test-hostname-${uniqueId}.com",
84+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
85+
}
86+
87+
---
88+
89+
GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
90+
91+
{
92+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
93+
}
94+
95+
OK
96+
97+
{
98+
"googleCdnKey": {
99+
"keyName": "test-key-name"
100+
},
101+
"hostname": "test-hostname-${uniqueId}.com",
102+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
103+
}
104+
105+
---
106+
107+
GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/UpdateCdnKey
108+
109+
{
110+
"cdnKey": {
111+
"googleCdnKey": {
112+
"keyName": "updated-key-name",
113+
"privateKey": "dXBkYXRlZHNlY3JldA=="
114+
},
115+
"hostname": "updated-hostname-${uniqueId}.com",
116+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
117+
},
118+
"updateMask": "googleCdnKey,hostname"
119+
}
120+
121+
OK
122+
123+
{
124+
"metadata": {
125+
"@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
126+
"createTime": "2024-04-01T12:34:56.123456Z",
127+
"target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
128+
"verb": "update"
129+
},
130+
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
131+
}
132+
133+
---
134+
135+
GRPC /google.longrunning.Operations/GetOperation
136+
137+
{
138+
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
139+
}
140+
141+
OK
142+
143+
{
144+
"done": true,
145+
"metadata": {
146+
"@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
147+
"createTime": "2024-04-01T12:34:56.123456Z",
148+
"endTime": "2024-04-01T12:34:56.123456Z",
149+
"target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
150+
"verb": "update"
151+
},
152+
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
153+
"response": {
154+
"@type": "type.googleapis.com/google.cloud.video.stitcher.v1.CdnKey",
155+
"googleCdnKey": {
156+
"keyName": "updated-key-name"
157+
},
158+
"hostname": "updated-hostname-${uniqueId}.com",
159+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
160+
}
161+
}
162+
163+
---
164+
165+
GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
166+
167+
{
168+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
169+
}
170+
171+
OK
172+
173+
{
174+
"googleCdnKey": {
175+
"keyName": "updated-key-name"
176+
},
177+
"hostname": "updated-hostname-${uniqueId}.com",
178+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
179+
}
180+
181+
---
182+
183+
GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
184+
185+
{
186+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
187+
}
188+
189+
OK
190+
191+
{
192+
"googleCdnKey": {
193+
"keyName": "updated-key-name"
194+
},
195+
"hostname": "updated-hostname-${uniqueId}.com",
196+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
197+
}
198+
199+
---
200+
201+
GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
202+
203+
{
204+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
205+
}
206+
207+
OK
208+
209+
{
210+
"googleCdnKey": {
211+
"keyName": "updated-key-name"
212+
},
213+
"hostname": "updated-hostname-${uniqueId}.com",
214+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
215+
}
216+
217+
---
218+
219+
GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/DeleteCdnKey
220+
221+
{
222+
"name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
223+
}
224+
225+
OK
226+
227+
{
228+
"metadata": {
229+
"@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
230+
"createTime": "2024-04-01T12:34:56.123456Z",
231+
"target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
232+
"verb": "delete"
233+
},
234+
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
235+
}
236+
237+
---
238+
239+
GRPC /google.longrunning.Operations/GetOperation
240+
241+
{
242+
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
243+
}
244+
245+
OK
246+
247+
{
248+
"done": true,
249+
"metadata": {
250+
"@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
251+
"createTime": "2024-04-01T12:34:56.123456Z",
252+
"endTime": "2024-04-01T12:34:56.123456Z",
253+
"target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
254+
"verb": "delete"
255+
},
256+
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
257+
"response": {
258+
"@type": "type.googleapis.com/google.protobuf.Empty"
259+
}
260+
}

0 commit comments

Comments
 (0)