Skip to content

Commit

Permalink
feat(e2e): add e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Csati <csatib02@gmail.com>
  • Loading branch information
csatib02 committed Sep 3, 2024
1 parent 47bdcf2 commit c635d6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions e2e/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package e2e

import (
"context"
"flag"
"fmt"
"os"
"testing"
Expand Down Expand Up @@ -45,6 +46,9 @@ func (e *reverseFinishEnvironment) Finish(f ...env.Func) env.Environment {
func TestMain(m *testing.M) {
testenv = &reverseFinishEnvironment{Environment: env.New()}

flags := flag.NewFlagSet("", flag.ContinueOnError)
klog.InitFlags(flags)
flags.Parse([]string{"-v", "4"})
log.SetLogger(klog.NewKlogr())

clusterName := envconf.RandomName("kube-pod-autocomplete-test", 32)
Expand Down

0 comments on commit c635d6a

Please sign in to comment.