summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs/jobs_plugin_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/jobs/jobs_plugin_test.go')
-rw-r--r--tests/plugins/jobs/jobs_plugin_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/plugins/jobs/jobs_plugin_test.go b/tests/plugins/jobs/jobs_plugin_test.go
index 754f60bc..b2f05f0f 100644
--- a/tests/plugins/jobs/jobs_plugin_test.go
+++ b/tests/plugins/jobs/jobs_plugin_test.go
@@ -11,6 +11,7 @@ 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/amqp"
"github.com/spiral/roadrunner/v2/plugins/jobs/brokers/ephemeral"
"github.com/spiral/roadrunner/v2/plugins/logger"
rpcPlugin "github.com/spiral/roadrunner/v2/plugins/rpc"
@@ -34,6 +35,7 @@ func TestJobsInit(t *testing.T) {
&logger.ZapLogger{},
&jobs.Plugin{},
&ephemeral.Plugin{},
+ &amqp.Plugin{},
)
assert.NoError(t, err)
@@ -82,7 +84,7 @@ func TestJobsInit(t *testing.T) {
}
}()
- time.Sleep(time.Second * 60)
+ time.Sleep(time.Second * 120)
stopCh <- struct{}{}