tests passing inside act, hopefully on real actions

This commit is contained in:
David Dworken
2022-04-13 21:30:27 -07:00
parent 908257306e
commit e2b5fd13bf
4 changed files with 12 additions and 5 deletions

View File

@ -81,6 +81,7 @@ func RunTestServer(t *testing.T) func() {
if err != nil {
t.Fatalf("failed to start server: %v", err)
}
// TODO: Optimize this by streaming stdout and waiting until we see the "listening ..." message
time.Sleep(time.Second * 3)
go func() {
_ = cmd.Wait()