mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-15 17:42:41 +02:00
tests passing inside act, hopefully on real actions
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user