StartComponent starts the component for testing.
(tb testing.TB, c *component.Component)
| 32 | |
| 33 | // StartComponent starts the component for testing. |
| 34 | func StartComponent(tb testing.TB, c *component.Component) { |
| 35 | if err := c.Start(); err != nil { |
| 36 | tb.Fatalf("Failed to start component: %v", err) |
| 37 | } |
| 38 | } |