summaryrefslogtreecommitdiff
path: root/static_pool_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'static_pool_test.go')
-rw-r--r--static_pool_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/static_pool_test.go b/static_pool_test.go
index d9fa75cd..cf3af4f6 100644
--- a/static_pool_test.go
+++ b/static_pool_test.go
@@ -237,7 +237,7 @@ func Test_StaticPool_Replace_Worker(t *testing.T) {
NewPipeFactory(),
Config{
NumWorkers: 1,
- MaxExecutions: 1,
+ MaxJobs: 1,
AllocateTimeout: time.Second,
DestroyTimeout: time.Second,
},
@@ -364,7 +364,7 @@ func Benchmark_Pool_Echo_Replaced(b *testing.B) {
NewPipeFactory(),
Config{
NumWorkers: 1,
- MaxExecutions: 1,
+ MaxJobs: 1,
AllocateTimeout: time.Second,
DestroyTimeout: time.Second,
},