mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-23 22:40:24 +02:00
fix some of the flaky tests
This commit is contained in:
1 parent
f544fa0c81
commit
b648b951b0
8 files changed
+101
-100
No files matched your search
@@ -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