fix: unittest

This commit is contained in:
xucong053
2022-05-20 18:10:12 +08:00
parent a25cae0aa9
commit f155d6007d
10 changed files with 23 additions and 11 deletions
+2 -2
View File
@@ -287,8 +287,8 @@ func LoadTestCases(iTestCases ...ITestCase) ([]*TestCase, error) {
testCasePath := TestCasePath(path)
tc, err := testCasePath.ToTestCase()
if err != nil {
log.Error().Err(err).Str("path", path).Msg("load testcase failed")
return errors.Wrap(err, "load testcase failed")
log.Warn().Err(err).Str("path", path).Msg("load testcase failed")
return nil
}
testCases = append(testCases, tc)
return nil