aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPimyn Girgis <pimyn@google.com>2025-10-13 10:06:26 +0000
committerAleksandr Nogikh <nogikh@google.com>2025-11-03 13:16:31 +0000
commit1b1dc2843ef942aab06c9afea214ae81d786c5b0 (patch)
tree7aa8e9fed858dbbd6a3b38f7e58c9daa32dea157
parentb09f1acd205002ec0ad91578981ea6890ccfad89 (diff)
dashboard/app: set aetest startup timeout
Set aetest startup timeout to 120 seconds to prevent flaky tests from failing due to timeouts. This is especially helpful on slower machines or when the system is under heavy load.
-rw-r--r--dashboard/app/util_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dashboard/app/util_test.go b/dashboard/app/util_test.go
index f403d8f2b..199573cf0 100644
--- a/dashboard/app/util_test.go
+++ b/dashboard/app/util_test.go
@@ -63,6 +63,7 @@ func NewCtx(t *testing.T) *Ctx {
}
t.Parallel()
inst, err := aetest.NewInstance(&aetest.Options{
+ StartupTimeout: 120 * time.Second,
// Without this option datastore queries return data with slight delay,
// which fails reporting tests.
StronglyConsistentDatastore: true,