chore: add more tests (#3045)

This commit is contained in:
Kevin Wan
2023-03-19 23:56:36 +08:00
committed by GitHub
parent 6170d7b790
commit 0ab06f62ca
2 changed files with 64 additions and 2 deletions

View File

@@ -6,11 +6,9 @@ import (
"time"
"github.com/stretchr/testify/assert"
"github.com/zeromicro/go-zero/core/logx"
)
func TestMetrics(t *testing.T) {
logx.Disable()
DisableLog()
defer logEnabled.Set(true)