|
75 | 75 | - command: path show --src='172.16.1.101' --dest='172.16.3.202' --namespace='ospf-ibgp' |
76 | 76 | --query-str='vendor == "Cisco" and mtu==1500' --format=json |
77 | 77 | data-directory: tests/data/parquet/ |
| 78 | + error: |
| 79 | + error: '[{"error": "ERROR: UserQueryError: name ''vendor'' is not defined"}]' |
78 | 80 | marks: path show badquery cumulus |
79 | | - output: '[]' |
80 | 81 | - command: topology show --query-str='vendor == "Cisco" and mtu==1500' --format=json |
81 | 82 | --namespace='ospf-single dual-evpn ospf-ibgp' |
82 | 83 | data-directory: tests/data/parquet/ |
@@ -158,8 +159,9 @@ tests: |
158 | 159 | - command: path summarize --src='172.16.1.101' --dest='172.16.3.202' --namespace='ospf-ibgp' |
159 | 160 | --query-str='vendor == "Cisco" and mtu==1500' --format=json |
160 | 161 | data-directory: tests/data/parquet/ |
| 162 | + error: |
| 163 | + error: '{"error": {"0": "ERROR: UserQueryError: name ''vendor'' is not defined"}}' |
161 | 164 | marks: path summarize badquery cumulus |
162 | | - output: '[]' |
163 | 165 | - command: topology summarize --query-str='vendor == "Cisco" and mtu==1500' --format=json |
164 | 166 | --namespace='ospf-single dual-evpn ospf-ibgp' --columns='hostname' |
165 | 167 | data-directory: tests/data/parquet/ |
@@ -241,8 +243,9 @@ tests: |
241 | 243 | - command: path unique --src='172.16.1.101' --dest='172.16.3.202' --namespace='ospf-ibgp' |
242 | 244 | --query-str='vendor == "Cisco" and mtu==1500' --format=json --columns='hostname' |
243 | 245 | data-directory: tests/data/parquet/ |
| 246 | + error: |
| 247 | + error: '[{"error": "ERROR: UserQueryError: name ''vendor'' is not defined"}]' |
244 | 248 | marks: path unique badquery cumulus |
245 | | - output: '[]' |
246 | 249 | - command: topology unique --query-str='vendor == "Cisco" and mtu==1500' --format=json |
247 | 250 | --namespace='ospf-single dual-evpn ospf-ibgp' --columns='hostname' |
248 | 251 | data-directory: tests/data/parquet/ |
|
0 commit comments