@@ -68,8 +68,8 @@ var _ = Describe("Integration", func() {
68
68
Expect (err ).NotTo (HaveOccurred ())
69
69
session .Wait (2 )
70
70
Expect (session .Out ).Should (gbytes .Say (`The Integration test has been created
71
- ID Name Type Site ApiKey
72
- 9e3fabbc-849c-4a77-bdb2-9422e712e7dc ff DATADOG test c4XXXXXXXXXXXXXXXXXXXXXXXXXXXX3d` ))
71
+ Name Type Site ApiKey
72
+ ff DATADOG test c4XXXXXXXXXXXXXXXXXXXXXXXXXXXX3d` ))
73
73
session .Kill ()
74
74
})
75
75
It ("should return required field name and type when not set" , func () {
@@ -107,8 +107,8 @@ ID Name Type Site ApiKey
107
107
Expect (err ).NotTo (HaveOccurred ())
108
108
session .Wait (2 )
109
109
Expect (session .Out ).Should (gbytes .Say (`The Integration test has been created
110
- ID Name Type Endpoint
111
- 9e3fabbc-849c-4a77-bdb2-9422e712e7dc test PROMETHEUS http://prometheus.yourcompany.com/api/v1/otlp` ))
110
+ Name Type Endpoint
111
+ test PROMETHEUS http://prometheus.yourcompany.com/api/v1/otlp` ))
112
112
session .Kill ()
113
113
})
114
114
It ("should return error when arg prometheus-spec not set" , func () {
@@ -146,8 +146,8 @@ ID Name Type Endpoint
146
146
Expect (err ).NotTo (HaveOccurred ())
147
147
session .Wait (2 )
148
148
Expect (session .Out ).Should (gbytes .Say (`The Integration test has been created
149
- ID Name Type Endpoint
150
- 9e3fabbc-849c-4a77-bdb2-9422e712e7dc test VICTORIAMETRICS http://victoriametrics.yourcompany.com` ))
149
+ Name Type Endpoint
150
+ test VICTORIAMETRICS http://victoriametrics.yourcompany.com` ))
151
151
session .Kill ()
152
152
})
153
153
It ("should return error when arg victoriametrics-spec not set" , func () {
@@ -185,8 +185,8 @@ ID Name Type Endpoint
185
185
Expect (err ).NotTo (HaveOccurred ())
186
186
session .Wait (2 )
187
187
Expect (session .Out ).Should (gbytes .Say (`The Integration test has been created
188
- ID Name Type Zone Access Token Policy InstanceId OrgSlug
189
- 92ceaa26-bac7-4842-9b3c-831a18a4f813 grafana GRAFANA test-zone glXXXXXXXXXX...XXXXXXXXXXXXXXX== 1234456 ybmclitest` ))
188
+ Name Type Zone Access Token Policy InstanceId OrgSlug
189
+ grafana GRAFANA test-zone glXXXXXXXXXX...XXXXXXXXXXXXXXX== 1234456 ybmclitest` ))
190
190
session .Kill ()
191
191
})
192
192
It ("should return required field" , func () {
@@ -214,8 +214,8 @@ ID Name Type Zone Access To
214
214
session , err := gexec .Start (cmd , GinkgoWriter , GinkgoWriter )
215
215
Expect (err ).NotTo (HaveOccurred ())
216
216
session .Wait (2 )
217
- Expect (session .Out ).Should (gbytes .Say (`ID Name Type Access Key Access ID InstallationToken
218
- 4021aa44-b22d-4bb6-a7d3-0a1099a4f206 gwenn-sumo SUMOLOGIC FqXXXXXXXXXX...XXXXXXXXXXXXXXX9p suXXXXXXXXXXJ9 U1XXXXXXXXXX...XXXXXXXXXXXXXXX==` ))
217
+ Expect (session .Out ).Should (gbytes .Say (`Name Type Access Key Access ID InstallationToken
218
+ gwenn-sumo SUMOLOGIC FqXXXXXXXXXX...XXXXXXXXXXXXXXX9p suXXXXXXXXXXJ9 U1XXXXXXXXXX...XXXXXXXXXXXXXXX==` ))
219
219
session .Kill ()
220
220
})
221
221
It ("should return required field" , func () {
@@ -244,8 +244,8 @@ ID Name Type Zone Access To
244
244
Expect (err ).NotTo (HaveOccurred ())
245
245
session .Wait (2 )
246
246
Expect (session .Out ).Should (gbytes .Say (`The Integration testgcp has been created
247
- ID Name Type
248
- 7913c052-fcd0-4b37-8a90-b0e47320190b ddd GOOGLECLOUD` ))
247
+ Name Type
248
+ ddd GOOGLECLOUD` ))
249
249
session .Kill ()
250
250
})
251
251
It ("should return filepath error" , func () {
@@ -300,10 +300,10 @@ ID Name Type
300
300
session , err := gexec .Start (cmd , GinkgoWriter , GinkgoWriter )
301
301
Expect (err ).NotTo (HaveOccurred ())
302
302
session .Wait (2 )
303
- Expect (session .Out ).Should (gbytes .Say (`ID Name Type
304
- 129f7c97-81ae-47c7-8f9e-40ab4390093f ff DATADOG
305
- 92ceaa26-bac7-4842-9b3c-831a18a4f813 grafana GRAFANA
306
- 4021aa44-b22d-4bb6-a7d3-0a1099a4f206 gwenn-sumo SUMOLOGIC` ))
303
+ Expect (session .Out ).Should (gbytes .Say (`Name Type
304
+ ff DATADOG
305
+ grafana GRAFANA
306
+ gwenn-sumo SUMOLOGIC` ))
307
307
session .Kill ()
308
308
})
309
309
0 commit comments