Skip to content

Commit 52848b0

Browse files
SloNNblinkov
authored andcommitted
Bulk upsert test cases implementation (#14655)
Co-authored-by: Alexey Dmitriev <slonnn@yandex-team.ru>
1 parent f6ee6f9 commit 52848b0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/scripts/tests/apply_user_properties_to_junit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import xml.etree.ElementTree as ET
66
from xml.dom import minidom
77

8+
89
def add_properties_to_testcases(root, all_properties):
910
# Iterate over every testsuite tag
1011
for testsuite in root.findall('testsuite'):

ydb/tests/sql/large/test_bulkupserts_tpch.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# -*- coding: utf-8 -*-
22
import random
33
import ydb
4+
import pytest
45

56
from ydb.tests.sql.lib.test_base import TpchTestBaseH1
67
from ydb.tests.sql.lib.helpers import split_data_into_fixed_size_chunks
78

89

910
class TestTpchBulkUpsertsOperations(TpchTestBaseH1):
1011

12+
@pytest.mark.test_case("#14643")
1113
def test_bulk_upsert_lineitem_with_overlapping_keys(self):
1214
"""
1315
Test bulk upsert into the lineitem table with overlapping keys.
@@ -72,6 +74,7 @@ def generate_lineitem_data(offset):
7274

7375
assert inserted_quantity == result_quantity, f"Mismatch in l_quantity for {key}"
7476

77+
@pytest.mark.test_case("#14642")
7578
def test_repeated_bulk_upsert_lineitem(self):
7679
"""
7780
Test that repeatedly upserting records in the lineitem table with the same keys results,

0 commit comments

Comments
 (0)