-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
96 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import ydb.tests.olap.load.lib.tpcds as tpcds | ||
from ydb.tests.functional.tpc.lib.conftest import FunctionalTestBase | ||
|
||
|
||
class TestTpcdsS1(tpcds.TestTpcds1, FunctionalTestBase): | ||
iterations: int = 1 | ||
|
||
@classmethod | ||
def setup_class(cls) -> None: | ||
cls.setup_cluster() | ||
cls.run_cli(['workload', 'tpcds', '-p', 'olap_yatests/tpcds/s1', 'init', '--store=column']) | ||
cls.run_cli(['workload', 'tpcds', '-p', 'olap_yatests/tpcds/s1', 'import', 'generator', '--scale=1']) | ||
tpcds.TestTpcds1.setup_class() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
IF (NOT SANITIZER_TYPE) | ||
|
||
PY3TEST() | ||
ENV(YDB_HARD_MEMORY_LIMIT_BYTES="107374182400") | ||
|
||
TEST_SRCS( | ||
test_tpcds.py | ||
) | ||
|
||
SIZE(LARGE) | ||
TAG(ya:fat) | ||
|
||
|
||
REQUIREMENTS(ram:16) | ||
|
||
ENV(YDB_ENABLE_COLUMN_TABLES="true") | ||
ENV(YDB_DRIVER_BINARY="ydb/apps/ydbd/ydbd") | ||
ENV(NO_KUBER_LOGS="yes") | ||
|
||
PEERDIR( | ||
ydb/tests/functional/tpc/lib | ||
) | ||
|
||
DEPENDS( | ||
ydb/apps/ydb | ||
ydb/apps/ydbd | ||
) | ||
|
||
FORK_TEST_FILES() | ||
|
||
END() | ||
|
||
ENDIF() |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
PY3_LIBRARY() | ||
|
||
PY_SRCS ( | ||
conftest.py | ||
) | ||
|
||
PEERDIR( | ||
ydb/tests/library | ||
ydb/tests/olap/load/lib | ||
) | ||
|
||
END() |
2 changes: 1 addition & 1 deletion
2
ydb/tests/functional/tpc/test_tpch.py → ydb/tests/functional/tpc/medium/test_tpch.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
IF (NOT SANITIZER_TYPE) | ||
|
||
PY3TEST() | ||
ENV(YDB_HARD_MEMORY_LIMIT_BYTES="107374182400") | ||
|
||
TEST_SRCS( | ||
test_tpch.py | ||
) | ||
|
||
SIZE(MEDIUM) | ||
|
||
REQUIREMENTS(ram:16) | ||
|
||
ENV(YDB_ENABLE_COLUMN_TABLES="true") | ||
ENV(YDB_DRIVER_BINARY="ydb/apps/ydbd/ydbd") | ||
ENV(NO_KUBER_LOGS="yes") | ||
|
||
PEERDIR( | ||
ydb/tests/functional/tpc/lib | ||
) | ||
|
||
DEPENDS( | ||
ydb/apps/ydb | ||
ydb/apps/ydbd | ||
) | ||
|
||
FORK_TEST_FILES() | ||
|
||
END() | ||
|
||
ENDIF() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,5 @@ | ||
IF (NOT SANITIZER_TYPE) | ||
|
||
PY3TEST() | ||
ENV(YDB_HARD_MEMORY_LIMIT_BYTES="107374182400") | ||
|
||
PY_SRCS( | ||
conftest.py | ||
) | ||
|
||
TEST_SRCS( | ||
test_tpch.py | ||
) | ||
|
||
SIZE(MEDIUM) | ||
|
||
REQUIREMENTS(ram:16) | ||
|
||
ENV(YDB_ENABLE_COLUMN_TABLES="true") | ||
ENV(YDB_DRIVER_BINARY="ydb/apps/ydbd/ydbd") | ||
ENV(NO_KUBER_LOGS="yes") | ||
|
||
PEERDIR( | ||
ydb/tests/library | ||
ydb/tests/olap/load/lib | ||
) | ||
|
||
DEPENDS( | ||
ydb/apps/ydb | ||
ydb/apps/ydbd | ||
) | ||
|
||
FORK_TEST_FILES() | ||
|
||
END() | ||
|
||
ENDIF() | ||
RECURSE( | ||
large | ||
lib | ||
medium | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters