You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running test using ginkgo, we get the following error:
On looking further, the issue was due to the **zapLogger**. In logger.go (pkg->framework->logger.go), the GetGinLogger function uses zapLogger and when running the test, the zapLogger might have not been initialized properly which is giving the error.
As a workaround, the we can use l.Desugar() instead of the zapLogger.
I tried creating a NewLogger constructor and injecting it using fx but still the issue persists.
If there is any other solution or workaround to this please do mention 🙇🙏
The text was updated successfully, but these errors were encountered:
When running test using ginkgo, we get the following error:
On looking further, the issue was due to the
**zapLogger**
. In logger.go (pkg->framework->logger.go), theGetGinLogger
function useszapLogger
and when running the test, thezapLogger
might have not been initialized properly which is giving the error.As a workaround, the we can use
l.Desugar()
instead of thezapLogger
.I tried creating a
NewLogger
constructor and injecting it using fx but still the issue persists.If there is any other solution or workaround to this please do mention 🙇🙏
The text was updated successfully, but these errors were encountered: