File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,12 @@ var _ = ginkgo.Describe("Running dirctl end-to-end tests for the import command"
3737 // Verify command failed
3838 gomega .Expect (err ).To (gomega .HaveOccurred ())
3939
40- // Verify error message indicates enrichment is mandatory
41- // The error message is in the wrapped error, not the output (stderr vs stdout)
42- gomega .Expect (err .Error ()).To (gomega .ContainSubstring ("enrichment is mandatory" ))
40+ // Enricher init fails when mcphost config is missing/invalid; errors are wrapped by CLI and importer.
41+ gomega .Expect (err .Error ()).To (gomega .Or (
42+ gomega .ContainSubstring ("failed to create enricher" ),
43+ gomega .ContainSubstring ("failed to create MCPHost client" ),
44+ gomega .ContainSubstring ("enrichment is mandatory" ),
45+ ))
4346 })
4447 })
4548})
You can’t perform that action at this time.
0 commit comments