diff --git a/testing/framework/framework.go b/testing/framework/framework.go index 086b020e..6e8e11b0 100644 --- a/testing/framework/framework.go +++ b/testing/framework/framework.go @@ -23,6 +23,7 @@ import ( "testing" "time" + "knative.dev/pkg/logging" . "github.com/katanomi/pkg/testing/framework/base" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" @@ -57,6 +58,7 @@ func (f *Framework) init() { panic(err) } f.SugaredLogger = logger.Sugar() + f.Context = logging.WithLogger(f.Context, f.SugaredLogger) } // MRun main testing.M run