mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-06 00:40:10 -06:00
* re-add new testing harness * add healthcheck port and pick random grpc port to listen on * feat: parallel load tests and faster tests * make parallelism = 5 * fix: lint * add linter to pre * fix: add back rampup fixes * reduce matrix on PR, add matrix to pre-release step * make load tests less likely to block * make limit strategy group round robin * uncomment lines
19 lines
282 B
Go
19 lines
282 B
Go
//go:build e2e
|
|
|
|
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) {
|
|
time.Sleep(5 * time.Second)
|
|
}
|