mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-08 15:41:18 +02:00
fix some of the flaky tests
This commit is contained in:
@@ -249,6 +249,7 @@ func (scenario *ApiScenario) test(t testing.TB) {
|
||||
t.Errorf("Expected status code %d, got %d", scenario.ExpectedStatus, res.StatusCode)
|
||||
}
|
||||
|
||||
// @todo consider removing in favour of synctest.Wait()
|
||||
if scenario.Delay > 0 {
|
||||
time.Sleep(scenario.Delay)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user