diff options
author | Valery Piashchynski <[email protected]> | 2021-06-23 15:02:16 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-23 15:02:16 +0300 |
commit | 7fc09959619e9e400ecafcffcd63e38812f397a6 (patch) | |
tree | e6629f40cda53988facfb455ed460dbd05bbdc29 /tests/plugins/jobs/jobs_plugin_test.go | |
parent | b0e7ac1aa40e9dbb688f88ac21b10a321a02c252 (diff) |
- Swithc from value to pointer to the pool configuration. Interface
value changed.
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/jobs/jobs_plugin_test.go')
-rw-r--r-- | tests/plugins/jobs/jobs_plugin_test.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/plugins/jobs/jobs_plugin_test.go b/tests/plugins/jobs/jobs_plugin_test.go index c4a7f72e..e8b4e83d 100644 --- a/tests/plugins/jobs/jobs_plugin_test.go +++ b/tests/plugins/jobs/jobs_plugin_test.go @@ -10,9 +10,11 @@ import ( endure "github.com/spiral/endure/pkg/container" "github.com/spiral/roadrunner/v2/plugins/config" + "github.com/spiral/roadrunner/v2/plugins/jobs" + "github.com/spiral/roadrunner/v2/plugins/jobs/brokers/ephemeral" "github.com/spiral/roadrunner/v2/plugins/logger" - "github.com/spiral/roadrunner/v2/plugins/memory" rpcPlugin "github.com/spiral/roadrunner/v2/plugins/rpc" + "github.com/spiral/roadrunner/v2/plugins/server" "github.com/stretchr/testify/assert" ) @@ -21,15 +23,17 @@ func TestJobsInit(t *testing.T) { assert.NoError(t, err) cfg := &config.Viper{ - Path: "configs/.rr-kv-init.yaml", + Path: "configs/.rr-jobs-init.yaml", Prefix: "rr", } err = cont.RegisterAll( cfg, - &memory.Plugin{}, + &server.Plugin{}, &rpcPlugin.Plugin{}, &logger.ZapLogger{}, + &jobs.Plugin{}, + &ephemeral.Plugin{}, ) assert.NoError(t, err) |