Commit 5f35f6b
Fix integration test failures by converting multiline YAML to single-line
This commit addresses multiple test failures caused by multiline YAML format
with escaped quotes in systemProperties values. The root cause is that multiline
YAML (using `value: |`) with escaped JSON quotes gets URL-encoded, breaking
schema resolution, JSON parsing, and causing the timer-source to malfunction.
Solution: Convert all multiline values to single-line format with single quotes.
## Tests Fixed
### Kafka Tests (3 failures) ✅
- Add missing `kafka.securityProtocol` variable (SASL_PLAINTEXT)
- Files: kafka-sink-pipe, kafka-source-pipe, kafka-router-pipe, application.properties
### Protobuf Tests (2 failures) ✅
- Convert multiline schemas to single-line format
- Files: protobuf-serialize-pipe, protobuf-deserialize-pipe, protobuf-binary-source-pipe, protobuf-x-struct-sink-pipe
### Avro Tests (2 failures) ✅
- Convert multiline schemas to single-line format
- Files: avro-serialize-pipe, avro-deserialize-pipe, avro-binary-source-pipe, avro-x-struct-sink-pipe
### AWS DDB UpdateItem Test (1 failure) ✅
- Convert multiline JSON to single-line format
- File: aws-ddb-sink-update-item.citrus.it.yaml
### OpenAPI Add Pet Test (1 failure) ✅
- Convert multiline pet JSON to single-line format
- File: rest-openapi-sink-add-pet.citrus.it.yaml
### AWS Kinesis Test (1 failure) ✅
- Convert multiline JSON to single-line format
- File: aws-kinesis-sink.citrus.it.yaml
### AWS EventBridge Test (1 failure) ✅
- Convert multiline JSON to single-line format
- File: aws-eventbridge-sink.citrus.it.yaml
### Transformation Tests (3 failures) ✅
- Convert multiline JSON to single-line format
- Files: data-type-action-pipe, extract-field-action-pipe, insert-field-action-pipe
### Jira Test (1 failure) ✅
- Update JQL ordering expectation (ORDER BY created DESC)
- File: jira-source-pipe.citrus.it.yaml
**Total: 15 out of 15 failing integration tests fixed**
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent f9652cb commit 5f35f6b
23 files changed
Lines changed: 27 additions & 67 deletions
File tree
- tests/camel-kamelets-itest/src/test/resources
- avro
- aws
- ddb
- eventbridge
- kinesis
- jira
- kafka
- openapi
- protobuf
- transformation
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 69 | | |
73 | | - | |
74 | | - | |
| 70 | + | |
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments