Files
Greg Furman 4ba2c7e155 fix(test): Add healthcheck to harness engine startup (#3601)
* fix(test): Add healthcheck to harness engine startup

* increase ramup duration to 30s
2026-04-10 13:58:26 -04:00

19 lines
368 B
Go

package harness
import (
"testing"
"time"
)
func TestMain(m *testing.M) {
RunTestWithEngine(m)
}
// Tests that the engine starts up and shuts down correctly without leaking
// goroutines.
func TestStartupShutdown(t *testing.T) {
if err := WaitEngineReady(t.Context(), 120*time.Second); err != nil {
t.Errorf("failed to bring up engine in time: %s", err)
}
}