Skip to content

Commit

Permalink
chore: removing unnecessary inits
Browse files Browse the repository at this point in the history
  • Loading branch information
fracasula committed Oct 3, 2022
1 parent 4665a90 commit 43ce0b4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions router/batchrouter/batchrouterBenchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
backendconfig "github.com/rudderlabs/rudder-server/config/backend-config"
"github.com/rudderlabs/rudder-server/jobsdb"
mocksFileManager "github.com/rudderlabs/rudder-server/mocks/services/filemanager"
"github.com/rudderlabs/rudder-server/utils/logger"
)

func Benchmark_GetStorageDateFormat(b *testing.B) {
Expand Down Expand Up @@ -47,8 +46,6 @@ func randomString() string {

// Benchmark_JSONUnmarshal tries to reproduce a panic encountered with jsoniter
func Benchmark_JSONUnmarshal(b *testing.B) {
config.Load()
logger.Init()
Init()

for i := 0; i < b.N; i++ {
Expand Down

0 comments on commit 43ce0b4

Please sign in to comment.