summaryrefslogtreecommitdiff
path: root/supervisor_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-16 15:11:27 +0300
committerValery Piashchynski <[email protected]>2020-11-16 15:11:27 +0300
commitd40ff179e43a02726bfa4298e523a16c79a88cea (patch)
tree2677952acd0a396f1950b2e85cae62e8b9818d7a /supervisor_test.go
parenta7ba4df83b4f2c67a3a0fb9d1dd35663935c90be (diff)
Rename app->server
Rename Config -> PoolConfig
Diffstat (limited to 'supervisor_test.go')
-rw-r--r--supervisor_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/supervisor_test.go b/supervisor_test.go
index 34172d7d..08ea356d 100644
--- a/supervisor_test.go
+++ b/supervisor_test.go
@@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/assert"
)
-var cfgSupervised = Config{
+var cfgSupervised = PoolConfig{
NumWorkers: int64(1),
AllocateTimeout: time.Second,
DestroyTimeout: time.Second,
@@ -69,7 +69,7 @@ func TestSupervisedPool_Exec(t *testing.T) {
}
func TestSupervisedPool_ExecTTL_TimedOut(t *testing.T) {
- var cfgExecTTL = Config{
+ var cfgExecTTL = PoolConfig{
NumWorkers: int64(1),
AllocateTimeout: time.Second,
DestroyTimeout: time.Second,
@@ -109,7 +109,7 @@ func TestSupervisedPool_ExecTTL_TimedOut(t *testing.T) {
}
func TestSupervisedPool_ExecTTL_OK(t *testing.T) {
- var cfgExecTTL = Config{
+ var cfgExecTTL = PoolConfig{
NumWorkers: int64(1),
AllocateTimeout: time.Second,
DestroyTimeout: time.Second,