Skip to content

Commit 0df34ad

Browse files
update tests
1 parent 64488e4 commit 0df34ad

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

tests/integrations/clickhouse_driver/test_clickhouse_driver.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ def test_clickhouse_client_breadcrumbs_with_pii_span_streaming(
373373
"db.user": "default",
374374
"server.address": "localhost",
375375
"server.port": 9000,
376+
"db.result": [],
376377
},
377378
"message": "DROP TABLE IF EXISTS test",
378379
"type": "default",
@@ -386,6 +387,7 @@ def test_clickhouse_client_breadcrumbs_with_pii_span_streaming(
386387
"db.user": "default",
387388
"server.address": "localhost",
388389
"server.port": 9000,
390+
"db.result": [],
389391
},
390392
"message": "CREATE TABLE test (x Int32) ENGINE = Memory",
391393
"type": "default",
@@ -425,6 +427,7 @@ def test_clickhouse_client_breadcrumbs_with_pii_span_streaming(
425427
"db.user": "default",
426428
"server.address": "localhost",
427429
"server.port": 9000,
430+
"db.result": [[370]],
428431
},
429432
"message": "SELECT sum(x) FROM test WHERE x > 150",
430433
"type": "default",
@@ -576,6 +579,7 @@ def test_clickhouse_client_breadcrumbs_with_data_collection_span_streaming(
576579
"db.user": "default",
577580
"server.address": "localhost",
578581
"server.port": 9000,
582+
"db.result": [],
579583
},
580584
"message": "DROP TABLE IF EXISTS test",
581585
"type": "default",
@@ -589,6 +593,7 @@ def test_clickhouse_client_breadcrumbs_with_data_collection_span_streaming(
589593
"db.user": "default",
590594
"server.address": "localhost",
591595
"server.port": 9000,
596+
"db.result": [],
592597
},
593598
"message": "CREATE TABLE test (x Int32) ENGINE = Memory",
594599
"type": "default",
@@ -628,6 +633,7 @@ def test_clickhouse_client_breadcrumbs_with_data_collection_span_streaming(
628633
"db.user": "default",
629634
"server.address": "localhost",
630635
"server.port": 9000,
636+
"db.result": [[370]],
631637
},
632638
"message": "SELECT sum(x) FROM test WHERE x > 150",
633639
"type": "default",
@@ -1179,6 +1185,7 @@ def test_clickhouse_client_breadcrumbs_with_data_collection_default_span_streami
11791185
"db.user": "default",
11801186
"server.address": "localhost",
11811187
"server.port": 9000,
1188+
"db.result": [],
11821189
},
11831190
"message": "DROP TABLE IF EXISTS test",
11841191
"type": "default",
@@ -1192,6 +1199,7 @@ def test_clickhouse_client_breadcrumbs_with_data_collection_default_span_streami
11921199
"db.user": "default",
11931200
"server.address": "localhost",
11941201
"server.port": 9000,
1202+
"db.result": [],
11951203
},
11961204
"message": "CREATE TABLE test (x Int32) ENGINE = Memory",
11971205
"type": "default",
@@ -1231,6 +1239,7 @@ def test_clickhouse_client_breadcrumbs_with_data_collection_default_span_streami
12311239
"db.user": "default",
12321240
"server.address": "localhost",
12331241
"server.port": 9000,
1242+
"db.result": [[370]],
12341243
},
12351244
"message": "SELECT sum(x) FROM test WHERE x > 150",
12361245
"type": "default",
@@ -2289,6 +2298,7 @@ def test_clickhouse_dbapi_breadcrumbs_with_pii_span_streaming(
22892298
"db.user": "default",
22902299
"server.address": "localhost",
22912300
"server.port": 9000,
2301+
"db.result": [[], []],
22922302
},
22932303
"message": "DROP TABLE IF EXISTS test",
22942304
"type": "default",
@@ -2302,6 +2312,7 @@ def test_clickhouse_dbapi_breadcrumbs_with_pii_span_streaming(
23022312
"db.user": "default",
23032313
"server.address": "localhost",
23042314
"server.port": 9000,
2315+
"db.result": [[], []],
23052316
},
23062317
"message": "CREATE TABLE test (x Int32) ENGINE = Memory",
23072318
"type": "default",
@@ -2341,6 +2352,7 @@ def test_clickhouse_dbapi_breadcrumbs_with_pii_span_streaming(
23412352
"db.user": "default",
23422353
"server.address": "localhost",
23432354
"server.port": 9000,
2355+
"db.result": [[["370"]], [["'sum(x)'", "'Int64'"]]],
23442356
},
23452357
"message": "SELECT sum(x) FROM test WHERE x > 150",
23462358
"type": "default",

0 commit comments

Comments
 (0)