st-tech / gatling-operator

Automating distributed Gatling load testing using Kubernetes operator
MIT License
68 stars 21 forks source link

Error occurs when startTime is set to a time more than 3 hours in the future #76

Closed niqniqniqq closed 1 year ago

niqniqniqq commented 1 year ago

The following error occurs when startTime of a Gatling resource is set to a time more than 3 hours in the future.

  1. The waiting time for job execution reaches maxJobRunWaitTimeInSeconds and the following error occurs. https://github.com/st-tech/gatling-operator/blob/8f1e1091f56f97983b7d7bd1ab0c2f29fd8cb0a6/controllers/gatling_controller.go#L244

2.The waiting time for job creation reaches maxJobCreationWaitTimeInSeconds, and the following error occurs. https://github.com/st-tech/gatling-operator/blob/8f1e1091f56f97983b7d7bd1ab0c2f29fd8cb0a6/controllers/gatling_controller.go#L221

To avoid this error, I would like to be able to set maxJobRunWaitTimeInSeconds and maxJobCreationWaitTimeInSeconds externally as environment variables.