You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@horaedb.apache.org by xi...@apache.org on 2024/01/10 07:30:26 UTC
(incubator-horaedb-meta) 01/04: fix: fix integration tests on dev branch (#287)
This is an automated email from the ASF dual-hosted git repository.
xikai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-horaedb-meta.git
commit 52ee69c1a40cf7e93d2581f939bac2ce21621b1e
Author: CooooolFrog <zu...@gmail.com>
AuthorDate: Wed Dec 6 16:29:10 2023 +0800
fix: fix integration tests on dev branch (#287)
Currently the tests on the dev branch are not running properly.
* Cherry pick some changes on main branch.
* Fix integration test.
Pass CI.
---
pkg/coderr/error_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/coderr/error_test.go b/pkg/coderr/error_test.go
index dc44538..53bc39d 100644
--- a/pkg/coderr/error_test.go
+++ b/pkg/coderr/error_test.go
@@ -32,7 +32,7 @@ func TestErrorStack(t *testing.T) {
cerr := NewCodeError(Internal, "test internal error")
err := cerr.WithCausef("failed reason:%s", "for test")
errDesc := fmt.Sprintf("%s", err)
- expectErrDesc := "horaedb-meta/pkg/coderr/error_test.go:"
+ expectErrDesc := "ceresmeta/pkg/coderr/error_test.go:"
r.True(strings.Contains(errDesc, expectErrDesc), "actual errDesc:%s", errDesc)
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For additional commands, e-mail: commits-help@horaedb.apache.org