diff options
author | Oleg Doronin <dorooleg@yandex.ru> | 2025-04-02 19:13:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-02 19:13:36 +0300 |
commit | 107ab50888b62b426f44cc7678bd313065b3e7cc (patch) | |
tree | 2095369229cdbf67a8488db019b6fc6eaf57a75d | |
parent | d547cab08b590b02d8b44bf2604aaed5cf972ab5 (diff) | |
download | ydb-107ab50888b62b426f44cc7678bd313065b3e7cc.tar.gz |
try to fix flapping (#16634)
-rw-r--r-- | ydb/tests/olap/oom/overlapping_portions.py | 2 | ||||
-rw-r--r-- | ydb/tests/olap/scenario/test_read_update_write_load.py | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/ydb/tests/olap/oom/overlapping_portions.py b/ydb/tests/olap/oom/overlapping_portions.py index ddbcfd72f5..08fe8f2653 100644 --- a/ydb/tests/olap/oom/overlapping_portions.py +++ b/ydb/tests/olap/oom/overlapping_portions.py @@ -101,4 +101,4 @@ class TestOverlappingPortions(object): self.write_and_check(table_path, 1) with pytest.raises(ydb.issues.GenericError, match=r'.*cannot allocate memory.*'): - self.write_and_check(table_path, 100) + self.write_and_check(table_path, 300) diff --git a/ydb/tests/olap/scenario/test_read_update_write_load.py b/ydb/tests/olap/scenario/test_read_update_write_load.py index d30f076cb6..6aa9d05cc3 100644 --- a/ydb/tests/olap/scenario/test_read_update_write_load.py +++ b/ydb/tests/olap/scenario/test_read_update_write_load.py @@ -84,9 +84,9 @@ class TestReadUpdateWriteLoad(BaseTestSet): def scenario_read_update_write_load(self, ctx: TestContext): sth = ScenarioTestHelper(ctx) - table_size_mib = int(get_external_param("table_size_mib", "64")) + table_size_mib = int(get_external_param("table_size_mib", "1")) - assert table_size_mib >= 64, "invalid table_size_mib parameter" + assert table_size_mib >= 1, "invalid table_size_mib parameter" sth.execute_scheme_query(CreateTable(self.big_table_name).with_schema(self.big_table_schema)) @@ -97,8 +97,6 @@ class TestReadUpdateWriteLoad(BaseTestSet): print("Step 1. only write", file=sys.stderr) - math.ceil(table_size_mib * 1024 / 10 / 64) - upsert_only_threads: TestThreads = TestThreads() for i in range(64): upsert_only_threads.append( |