Skip to content

Commit

Permalink
fixup! Create go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xescugc committed Nov 21, 2023
1 parent 11b6822 commit ec35b3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package integration_test
import (
"context"
"os/exec"
"runtime"
"testing"
"time"

Expand Down Expand Up @@ -173,7 +174,7 @@ func TestRun(t *testing.T) {
returnMouseButtonJustPressed = true
mouseButtonJustPressed = ebiten.MouseButtonLeft

wait(20 * time.Second)
wait()
resetDefault()
//spew.Dump(ros.Rooms[room].Game.Players.GetPlayers())
wait(serverGameTick)
Expand Down Expand Up @@ -205,4 +206,5 @@ func wait(d ...time.Duration) {
d = []time.Duration{clientTPS}
}
time.Sleep(d[0])
runtime.Gosched()
}

0 comments on commit ec35b3e

Please sign in to comment.