|
|
|
|
@ -25,7 +25,6 @@ func TestSchedulerWorkflow(t *testing.T) {
|
|
|
|
|
conn, _ := db.TestSetup(t, "postgres")
|
|
|
|
|
wrapper := db.TestWrapper(t)
|
|
|
|
|
iam.TestRepo(t, conn, wrapper)
|
|
|
|
|
event.TestEnableEventing(t, true)
|
|
|
|
|
testConfig := event.DefaultEventerConfig()
|
|
|
|
|
testLock := &sync.Mutex{}
|
|
|
|
|
testLogger := hclog.New(&hclog.LoggerOptions{
|
|
|
|
|
@ -108,7 +107,6 @@ func TestSchedulerCancelCtx(t *testing.T) {
|
|
|
|
|
conn, _ := db.TestSetup(t, "postgres")
|
|
|
|
|
wrapper := db.TestWrapper(t)
|
|
|
|
|
iam.TestRepo(t, conn, wrapper)
|
|
|
|
|
event.TestEnableEventing(t, true)
|
|
|
|
|
testConfig := event.DefaultEventerConfig()
|
|
|
|
|
testLock := &sync.Mutex{}
|
|
|
|
|
testLogger := hclog.New(&hclog.LoggerOptions{
|
|
|
|
|
@ -158,7 +156,6 @@ func TestSchedulerInterruptedCancelCtx(t *testing.T) {
|
|
|
|
|
rw := db.New(conn)
|
|
|
|
|
kmsCache := kms.TestKms(t, conn, wrapper)
|
|
|
|
|
iam.TestRepo(t, conn, wrapper)
|
|
|
|
|
event.TestEnableEventing(t, true)
|
|
|
|
|
testConfig := event.DefaultEventerConfig()
|
|
|
|
|
testLock := &sync.Mutex{}
|
|
|
|
|
testLogger := hclog.New(&hclog.LoggerOptions{
|
|
|
|
|
@ -260,7 +257,6 @@ func TestSchedulerJobProgress(t *testing.T) {
|
|
|
|
|
rw := db.New(conn)
|
|
|
|
|
kmsCache := kms.TestKms(t, conn, wrapper)
|
|
|
|
|
iam.TestRepo(t, conn, wrapper)
|
|
|
|
|
event.TestEnableEventing(t, true)
|
|
|
|
|
testConfig := event.DefaultEventerConfig()
|
|
|
|
|
testLock := &sync.Mutex{}
|
|
|
|
|
testLogger := hclog.New(&hclog.LoggerOptions{
|
|
|
|
|
@ -369,7 +365,6 @@ func TestSchedulerMonitorLoop(t *testing.T) {
|
|
|
|
|
rw := db.New(conn)
|
|
|
|
|
kmsCache := kms.TestKms(t, conn, wrapper)
|
|
|
|
|
iam.TestRepo(t, conn, wrapper)
|
|
|
|
|
event.TestEnableEventing(t, true)
|
|
|
|
|
testConfig := event.DefaultEventerConfig()
|
|
|
|
|
testLock := &sync.Mutex{}
|
|
|
|
|
testLogger := hclog.New(&hclog.LoggerOptions{
|
|
|
|
|
@ -435,7 +430,6 @@ func TestSchedulerFinalStatusUpdate(t *testing.T) {
|
|
|
|
|
rw := db.New(conn)
|
|
|
|
|
kmsCache := kms.TestKms(t, conn, wrapper)
|
|
|
|
|
iam.TestRepo(t, conn, wrapper)
|
|
|
|
|
event.TestEnableEventing(t, true)
|
|
|
|
|
testConfig := event.DefaultEventerConfig()
|
|
|
|
|
testLock := &sync.Mutex{}
|
|
|
|
|
testLogger := hclog.New(&hclog.LoggerOptions{
|
|
|
|
|
@ -526,7 +520,6 @@ func TestSchedulerRunNow(t *testing.T) {
|
|
|
|
|
rw := db.New(conn)
|
|
|
|
|
kmsCache := kms.TestKms(t, conn, wrapper)
|
|
|
|
|
iam.TestRepo(t, conn, wrapper)
|
|
|
|
|
event.TestEnableEventing(t, true)
|
|
|
|
|
testConfig := event.DefaultEventerConfig()
|
|
|
|
|
testLock := &sync.Mutex{}
|
|
|
|
|
testLogger := hclog.New(&hclog.LoggerOptions{
|
|
|
|
|
|