-
Notifications
You must be signed in to change notification settings - Fork 89
Allow --duration=0 or infinite duration #333
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
It can be useful to continually apply load. For these cases, an infinite duration would be nice. Currently setting duration=0 provides an error:
$ docker run envoyproxy/nighthawk-dev:59683b759eb8f8bd8cce282795c08f9e2b3313d4 nighthawk_client google.com --duration 0
[2020-05-01 17:01:34.204][1][warning][misc] [external/envoy/source/common/protobuf/utility.cc:198] Using deprecated option 'nighthawk.client.CommandLineOptions.tls_context' from file options.proto. This configuration will be removed from Envoy soon. Please see https://www.envoyproxy.io/docs/envoy/latest/intro/deprecated for details.
[2020-05-01 17:01:34.204][1][debug][misc] [external/envoy/source/common/protobuf/utility.cc:255] Proto validation error; throwing Proto constraint validation failed (CommandLineOptionsValidationError.Duration: ["value must be greater than or equal to " "1ns"]): requests_per_second {
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request