Skip to content

Commit 0f949cf

Browse files
sdks/python: itest milvus sink i/o
1 parent 3c75dfd commit 0f949cf

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
import platform
2+
import unittest
3+
import pytest
4+
5+
6+
@pytest.mark.require_docker_in_docker
7+
@unittest.skipUnless(
8+
platform.system() == "Linux",
9+
"Test runs only on Linux due to lack of support, as yet, for nested "
10+
"virtualization in CI environments on Windows/macOS. Many CI providers run "
11+
"tests in virtualized environments, and nested virtualization "
12+
"(Docker inside a VM) is either unavailable or has several issues on "
13+
"non-Linux platforms.")
14+
class TestMilvusVectorWriterConfig(unittest.TestCase):
15+
@classmethod
16+
def setUpClass(cls):
17+
pass
18+
19+
@classmethod
20+
def tearDownClass(cls):
21+
pass
22+
23+
def test_invalid_write_on_non_existent_collection(self):
24+
pass
25+
26+
def test_invalid_write_on_non_existent_partition(self):
27+
pass
28+
29+
def test_invalid_write_on_non_existent_field(self):
30+
pass
31+
32+
def test_invalid_write_on_missing_primary_key_in_entity(self):
33+
pass
34+
35+
def test_write_on_existent_collection(self):
36+
pass
37+
38+
def test_write_on_existent_partition(self):
39+
pass
40+
41+
def test_write_on_auto_id_primary_key_in_entity(self):
42+
# New Record
43+
pass
44+
45+
def test_write_on_non_auto_id_primary_key_in_entity(self):
46+
pass
47+
48+
def tets_write_on_default_schema(self):
49+
pass
50+
51+
def test_write_on_custom_column_specifications(self):
52+
pass

0 commit comments

Comments
 (0)