1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Containers memory limits for CI (#3108)

Limit test containers by memory, fix cgroup path inside the containers by introducing new ugly setting name 

---------

Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
This commit is contained in:
drrtuy
2024-06-16 16:16:23 +01:00
committed by GitHub
parent f42411b6d1
commit 113d9873a3
4 changed files with 36 additions and 20 deletions

View File

@ -79,11 +79,11 @@ CGroupConfigurator::CGroupConfigurator()
else
cGroupDefined = true;
if (cGroupName == "just_no_group_use_local")
cGroupName = std::string{};
ifstream v2Check("/sys/fs/cgroup/cgroup.controllers");
cGroupVersion_ = (v2Check) ? v2 : v1;
}
CGroupConfigurator::~CGroupConfigurator()