Skip to content

Commit af6a731

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 af6a731

File tree

2 files changed

+17
-20
lines changed

2 files changed

+17
-20
lines changed

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

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
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
}
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11

2-
�
2+
x
33

4-
kubernetes�
4+
kubernetesj
55
;
66
9
7-
root-executor(
7+
8+
root-executor(
89
&
910
container*
1011

1112
image 
1213
test-image
1314
kubernetes
1415

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

0 commit comments

Comments
 (0)