Skip to content

Commit 038f3c9

Browse files
committed
fix: Regenerate proto test fixtures after semaphore/mutex field removal
Updates platform_spec test data to match the new protobuf schema without SemaphoreKey and MutexName fields. Resolves TestPlatformSpec failure. Signed-off-by: ddalvi <ddalvi@redhat.com>
1 parent 8f0feca commit 038f3c9

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed
Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
{
2-
"platforms": {
3-
"kubernetes": {
4-
"deployment_spec": {
5-
"executors": {
6-
"root-executor": {
7-
"container": {
8-
"image": "test-image"
2+
"platforms": {
3+
"kubernetes": {
4+
"deployment_spec": {
5+
"executors": {
6+
"root-executor": {
7+
"container": {
8+
"image": "test-image"
99
}
1010
}
1111
}
1212
},
13-
"platform": "kubernetes",
14-
"config": {
15-
"project": "test-project"
13+
"platform": "kubernetes",
14+
"config": {
15+
"project": "test-project"
1616
},
17-
"pipelineConfig": {
18-
"semaphore_key": "test-key",
19-
"mutex_name": "test-mutex",
20-
"resource_ttl": 24
17+
"pipelineConfig": {
18+
"resource_ttl": 24
2119
}
2220
}
2321
}
24-
}
22+
}

backend/test/proto_tests/testdata/generated-1791485/platform_spec.pb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
�
2+
x
33

4-
kubernetes�
4+
kubernetesj
55
;
66
9
77
root-executor(
@@ -12,6 +12,4 @@ kubernetes
1212
test-image
1313
kubernetes
1414

15-
project test-project"
16-
test-key
17-
test-mutex
15+
project test-project"

0 commit comments

Comments
 (0)