Skip to content

Commit 701779e

Browse files
committed
fix tests
1 parent fc18b54 commit 701779e

File tree

4 files changed

+44
-42
lines changed

4 files changed

+44
-42
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
integrations:
2+
- name: nri-flex
3+
config:
4+
enable_legacy_integration_attrs: true
5+
name: splitByTest
6+
apis:
7+
- name: MessageLegacy
8+
commands:
9+
# this is simulating the 'cat' command from linux.
10+
# echo writes windows native newline (\n\r) and flex gets confused thats why we have '&' right after the message
11+
# maybe there's a better way...
12+
- run: echo message:hello& echo value:100& echo error:false
13+
split_by: ":"
14+
- name: nri-flex
15+
config:
16+
enable_legacy_integration_attrs: true
17+
name: splitByTest
18+
apis:
19+
- name: MessageLegacy
20+
commands:
21+
# this is simualting the 'cat' command from linux.
22+
# echo writes windows native newline (\n\r) and flex gets confused thats why we have '&' right after the message
23+
# maybe there's a better way...
24+
- run: echo message::bye& echo value::20.9& echo error::true
25+
split_by: "::"

test/config_windows/v4-integrations-example.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,3 @@ integrations:
2121
# maybe there's a better way...
2222
- run: echo message::bye& echo value::20.9& echo error::true
2323
split_by: "::"
24-
- name: nri-flex
25-
config:
26-
enable_legacy_integration_attrs: true
27-
name: splitByTest
28-
apis:
29-
- name: MessageLegacy
30-
commands:
31-
# this is simulating the 'cat' command from linux.
32-
# echo writes windows native newline (\n\r) and flex gets confused thats why we have '&' right after the message
33-
# maybe there's a better way...
34-
- run: echo message:hello& echo value:100& echo error:false
35-
split_by: ":"
36-
- name: nri-flex
37-
config:
38-
enable_legacy_integration_attrs: true
39-
name: splitByTest
40-
apis:
41-
- name: MessageLegacy
42-
commands:
43-
# this is simualting the 'cat' command from linux.
44-
# echo writes windows native newline (\n\r) and flex gets confused thats why we have '&' right after the message
45-
# maybe there's a better way...
46-
- run: echo message::bye& echo value::20.9& echo error::true
47-
split_by: "::"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
integrations:
2+
- name: nri-flex
3+
config:
4+
enable_legacy_integration_attrs: true
5+
name: splitByTest
6+
apis:
7+
- name: MessageLegacy
8+
commands:
9+
- run: printf "message:hello\nvalue:100\nerror:false\n"
10+
split_by: ":"
11+
- name: nri-flex
12+
config:
13+
enable_legacy_integration_attrs: true
14+
name: splitByTest
15+
apis:
16+
- name: MessageLegacy
17+
commands:
18+
- run: printf "message::bye\nvalue::20.9\nerror::true\n"
19+
split_by: "::"

test/configs/v4-integrations-example.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,3 @@ integrations:
1515
commands:
1616
- run: printf "message::bye\nvalue::20.9\nerror::true\n"
1717
split_by: "::"
18-
- name: nri-flex
19-
config:
20-
enable_legacy_integration_attrs: true
21-
name: splitByTest
22-
apis:
23-
- name: MessageLegacy
24-
commands:
25-
- run: printf "message:hello\nvalue:100\nerror:false\n"
26-
split_by: ":"
27-
- name: nri-flex
28-
config:
29-
enable_legacy_integration_attrs: true
30-
name: splitByTest
31-
apis:
32-
- name: MessageLegacy
33-
commands:
34-
- run: printf "message::bye\nvalue::20.9\nerror::true\n"
35-
split_by: "::"

0 commit comments

Comments
 (0)