build: update goctl dependency ddl-parser to v1.0.3 (#1586)

* build: update goctl dependency ddl-parser to v1.0.3

* fix: race condition when testing logx

Resolves: #1587
This commit is contained in:
Fyn
2022-02-28 17:31:59 +08:00
committed by GitHub
parent 86d01e2e99
commit cf7c7cb392
3 changed files with 10 additions and 6 deletions

View File

@@ -84,9 +84,9 @@ func TestTraceInfo(t *testing.T) {
func TestTraceInfoConsole(t *testing.T) {
old := encoding
encoding = plainEncodingType
setEncoding(jsonEncodingType)
defer func() {
encoding = old
setEncoding(old)
}()
var buf mockWriter