From a0984c2c8ed6052e2c0b70bd50ed0c9dccc5e7dd Mon Sep 17 00:00:00 2001 From: Xieql Date: Tue, 4 Jan 2022 09:01:25 +0800 Subject: [PATCH] [skip e2e] Improve annotation (#14656) Signed-off-by: Xieql --- internal/util/sessionutil/session_util.go | 2 +- tests/python_client/testcases/test_utility.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/util/sessionutil/session_util.go b/internal/util/sessionutil/session_util.go index 52a13020b4..20759c5231 100644 --- a/internal/util/sessionutil/session_util.go +++ b/internal/util/sessionutil/session_util.go @@ -345,7 +345,7 @@ func (w *sessionWatcher) start() { // revision is a etcd reversion to prevent missing key events and can be obtained // in GetSessions. // If a server up, an event will be add to channel with eventType SessionAddType. -// If a server down, a event will be add to channel with eventType SessionDelType. +// If a server down, an event will be add to channel with eventType SessionDelType. func (s *Session) WatchServices(prefix string, revision int64, rewatch Rewatch) (eventChannel <-chan *SessionEvent) { w := &sessionWatcher{ s: s, diff --git a/tests/python_client/testcases/test_utility.py b/tests/python_client/testcases/test_utility.py index 2802898db0..5b0c91c078 100644 --- a/tests/python_client/testcases/test_utility.py +++ b/tests/python_client/testcases/test_utility.py @@ -799,7 +799,7 @@ class TestUtilityBase(TestcaseBase): @pytest.mark.tag(CaseLabel.L2) def test_loading_progress_empty_collection(self): """ - target: test loading_progress on a empty collection + target: test loading_progress on an empty collection method: 1.create collection and no insert 2.loading_progress expected: 0 entities is loaded """