mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-12 02:45:45 +02:00
test(server): Run all unit tests with --force_epoll
(#1672)
This commit is contained in:
parent
db3721b6e2
commit
3779837c5f
4 changed files with 19 additions and 1 deletions
|
@ -127,7 +127,11 @@ void BaseFamilyTest::SetUpTestSuite() {
|
|||
init_zmalloc_threadlocal(mi_heap_get_backing());
|
||||
|
||||
// TODO: go over all env variables starting with FLAGS_ and make sure they are in the below list.
|
||||
static constexpr const char* kEnvFlags[] = {"cluster_mode", "lock_on_hashtags"};
|
||||
static constexpr const char* kEnvFlags[] = {
|
||||
"cluster_mode",
|
||||
"lock_on_hashtags",
|
||||
"force_epoll",
|
||||
};
|
||||
for (string_view flag : kEnvFlags) {
|
||||
const char* value = getenv(absl::StrCat("FLAGS_", flag).data());
|
||||
if (value != nullptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue