Skip to content

Make setup setUp timeout configurable via a variable #576

@sri85

Description

@sri85

As part of our performance tests we create a lot of data before we begin the actual load test . This test data generation script(which is again a k6 script) was run prior to the test.

With the introduction of setUp and tearDown we moved the test data generation script to setUp method to make it more cleaner and concise . We are now seeing errors engine timing our tests out as the setUp takes more than 10 seconds and from the source code it looks like we are running into
https://github.com/loadimpact/k6/blob/master/core/local/local.go#L141 where the time is hardcoded to 10 seconds.

Can we please make this timeout configurable via a variable ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions