Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
  • Loading branch information
PrasadG193 committed Jun 21, 2020
1 parent f9ac20c commit 8ef642d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
package utils

import (
//"fmt"
"os"
"regexp"
"strconv"
Expand Down
4 changes: 1 addition & 3 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func TestRun(t *testing.T) {
}

utils.KubeClient = testEnv.K8sClient
utils.InitInformerMap()
utils.InitInformerMap(testEnv.Config)

// Start controller with fake notifiers
go controller.RegisterInformers(testEnv.Config, notifiers)
Expand Down Expand Up @@ -104,8 +104,6 @@ func StartFakeSlackBot(testenv *env.TestEnv) {
SlackURL: testenv.SlackServer.GetAPIURL(),
BotID: testenv.SlackServer.BotID,
DefaultNamespace: testenv.Config.Settings.Kubectl.DefaultNamespace,
Verbs: testenv.Config.Settings.Kubectl.Commands.Verbs,
Resources: testenv.Config.Settings.Kubectl.Commands.Resources,
}
go sb.Start()
}
Expand Down

0 comments on commit 8ef642d

Please sign in to comment.