mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
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:
1 parent
7c26eac322
commit
b657d4c74f
1 file changed
+1
-1
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user