From d776df7f63337a14e6f90b0961edbd33d41b31ef Mon Sep 17 00:00:00 2001 From: Yu Kun Date: Sat, 12 Oct 2019 16:44:56 +0800 Subject: [PATCH] fix test_resource Former-commit-id: ef7b6c4987fd1a681c876870de2c1646673abbf4 --- cpp/unittest/scheduler/test_resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/unittest/scheduler/test_resource.cpp b/cpp/unittest/scheduler/test_resource.cpp index 9d859d62..1ff0d9fd 100644 --- a/cpp/unittest/scheduler/test_resource.cpp +++ b/cpp/unittest/scheduler/test_resource.cpp @@ -184,7 +184,7 @@ class ResourceAdvanceTest : public testing::Test { }; TEST_F(ResourceAdvanceTest, DISK_RESOURCE_TEST) { - const uint64_t NUM = 10; + const uint64_t NUM = max_once_load; std::vector> tasks; TableFileSchemaPtr dummy = nullptr; for (uint64_t i = 0; i < NUM; ++i) { -- GitLab