From 79e1f4e5ae3b315b59cf46dcec3761f4db669f16 Mon Sep 17 00:00:00 2001 From: ThreadDao Date: Fri, 26 Mar 2021 16:43:25 +0800 Subject: [PATCH] Fix insert async callback Signed-off-by: ThreadDao --- tests/python_test/entity/test_insert.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/python_test/entity/test_insert.py b/tests/python_test/entity/test_insert.py index 306fb53676..877c5cf013 100644 --- a/tests/python_test/entity/test_insert.py +++ b/tests/python_test/entity/test_insert.py @@ -746,8 +746,6 @@ class TestInsertAsync: future = connect.insert(collection, gen_entities(nb), _async=True, _callback=self.check_status, timeout=1) with pytest.raises(Exception) as e: result = future.result() - stats = connect.get_collection_stats(collection) - assert stats[row_count] == 0 @pytest.mark.tags(CaseLabel.tags_0331, CaseLabel.tags_l1, CaseLabel.tags_smoke) def test_insert_async_invalid_params(self, connect):