test(runner): bound the last-action test by steps, not wall clock

100ms of wall clock against an assertion that two steps ran fatals under
load with "the web path never installed it", which reads as a
regression. every sibling test in the package uses a long duration and
MaxSteps.
This commit is contained in:
pj committed 2026-08-15 12:46:32 +05:30
1 parent 7c26eac322
commit b657d4c74f
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ func TestRunner_WebInstallsLastActionInThePage(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel() defer cancel()
if _, err := Run(ctx, Options{ if _, err := Run(ctx, Options{
Duration: 100 * time.Millisecond, Duration: time.Hour,
IdleTimeout: 20 * time.Millisecond, IdleTimeout: 20 * time.Millisecond,
MaxSteps: 3, MaxSteps: 3,
Driver: web, Driver: web,