MCPcopy Create free account
hub / github.com/celer-pkg/celer / TestExecutor_WithRetry

Function TestExecutor_WithRetry

pkgs/cmd/exec_test.go:194–199  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

192}
193
194func TestExecutor_WithRetry(t *testing.T) {
195 executor := NewExecutor("title", "cmd").WithRetry(3)
196 if executor.retryMaxAttempts != 3 {
197 t.Errorf("retryMaxAttempts = %d, want 3", executor.retryMaxAttempts)
198 }
199}
200
201func TestExecutor_WithRetry_Default(t *testing.T) {
202 executor := NewExecutor("title", "cmd")

Callers

nothing calls this directly

Calls 2

NewExecutorFunction · 0.85
WithRetryMethod · 0.80

Tested by

no test coverage detected