feat(event): Remove BOUNDARY_DEVELOPER_ENABLE_EVENTS env var
This commit is contained in:
1 parent
1af803780c
commit
4599e64cab
12 files changed
-79
No files matched your search
@@ -166,10 +166,6 @@ func Test_WrapWithOptionals(t *testing.T) {
|
||||
|
||||
func Test_WrapWithEventsHandler(t *testing.T) {
|
||||
// This cannot run in parallel because it relies on a pkg var common.privateNets
|
||||
|
||||
// this cannot run in parallel because it relies on envvar
|
||||
// globals.BOUNDARY_DEVELOPER_ENABLE_EVENTS
|
||||
event.TestEnableEventing(t, true)
|
||||
wrapper := db.TestWrapper(t)
|
||||
conn, _ := db.TestSetup(t, "postgres")
|
||||
testKms := kms.TestKms(t, conn, wrapper)
|
||||
@@ -353,9 +349,6 @@ func Test_WrapWithEventsHandler(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_startGatedEvents(t *testing.T) {
|
||||
// this cannot run in parallel because it relies on envvar
|
||||
// globals.BOUNDARY_DEVELOPER_ENABLE_EVENTS
|
||||
event.TestEnableEventing(t, true)
|
||||
testStartTime := time.Now()
|
||||
tests := []struct {
|
||||
name string
|
||||
@@ -412,9 +405,6 @@ func Test_startGatedEvents(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_flushGatedEvents(t *testing.T) {
|
||||
// this cannot run in parallel because it relies on envvar
|
||||
// globals.BOUNDARY_DEVELOPER_ENABLE_EVENTS
|
||||
event.TestEnableEventing(t, true)
|
||||
testStartTime := time.Now()
|
||||
tests := []struct {
|
||||
name string
|
||||
|
||||
@@ -140,9 +140,6 @@ func TestAuthTokenAuthenticator(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestVerify_AuditEvent(t *testing.T) {
|
||||
// this cannot run in parallel because it relies on envvar
|
||||
// globals.BOUNDARY_DEVELOPER_ENABLE_EVENTS
|
||||
event.TestEnableEventing(t, true)
|
||||
eventConfig := event.TestEventerConfig(t, "Test_Verify", event.TestWithAuditSink(t))
|
||||
testLock := &sync.Mutex{}
|
||||
testLogger := hclog.New(&hclog.LoggerOptions{
|
||||
|
||||
@@ -14,8 +14,6 @@ import (
|
||||
)
|
||||
|
||||
func TestWorkerWaitForNextSuccessfulStatusUpdate(t *testing.T) {
|
||||
// do not run using t.Parallel() since it relies on the sys eventer
|
||||
event.TestEnableEventing(t, true)
|
||||
testConfig := event.DefaultEventerConfig()
|
||||
testLock := &sync.Mutex{}
|
||||
testLogger := hclog.New(&hclog.LoggerOptions{
|
||||
|
||||
Reference in new issue
Block a user