未验证 提交 6bb02e8e 编写于 作者: L Leo Chen 提交者: GitHub

increase retry time (#27553)

上级 77a36f89
......@@ -13,6 +13,7 @@
// limitations under the License.
#include "paddle/fluid/memory/allocation/retry_allocator.h"
#include <algorithm>
#include <chrono> // NOLINT
#include <condition_variable> // NOLINT
......@@ -20,6 +21,7 @@
#include <string>
#include <thread> // NOLINT
#include <vector>
#include "gtest/gtest.h"
#include "paddle/fluid/memory/allocation/best_fit_allocator.h"
#include "paddle/fluid/memory/allocation/cpu_allocator.h"
......@@ -45,7 +47,7 @@ TEST(RetryAllocator, RetryAllocator) {
size_t thread_num = 4;
size_t sleep_time = 40;
size_t extra_time = 10;
size_t extra_time = 20;
// Reserve to perform more tests in the future
std::vector<std::shared_ptr<Allocator>> allocators;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册