Vally calls this on SIGINT or SIGTERM and exits once it resolves, so wait for the running trial to clean up its * live resources. The trial stops its agent at its next check.
()
| 101 | /** Vally calls this on SIGINT or SIGTERM and exits once it resolves, so wait for the running trial to clean up its |
| 102 | * live resources. The trial stops its agent at its next check. */ |
| 103 | async shutdown(): Promise<void> { |
| 104 | this.stopping = true; |
| 105 | await this.queue; |
| 106 | } |
| 107 | |
| 108 | private async trial(stimulus: Stimulus, options: ExecutorOptions): Promise<Trajectory> { |
| 109 | const { suite, scenario } = parseExecutorConfig(options.executorConfig, this.suites); |
no outgoing calls
no test coverage detected