From 40dd563dd77bf9643e192df611cfb5998a1fe405 Mon Sep 17 00:00:00 2001 From: Huihuang Zheng Date: Thu, 10 Sep 2020 10:31:07 +0800 Subject: [PATCH] Decrease test_parallel_executor_crf CI time, test=develop (#27212) Decrease the number of running iterations to reduce CI time. CI system shows it decreased the unittest time from about 90 seconds to about 30 seconds --- .../paddle/fluid/tests/unittests/test_parallel_executor_crf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/test_parallel_executor_crf.py b/python/paddle/fluid/tests/unittests/test_parallel_executor_crf.py index 6671a2def3..ea59a7f584 100644 --- a/python/paddle/fluid/tests/unittests/test_parallel_executor_crf.py +++ b/python/paddle/fluid/tests/unittests/test_parallel_executor_crf.py @@ -176,7 +176,7 @@ class TestCRFModel(unittest.TestCase): place=fluid.CPUPlace()) data = train_data() - for i in range(10): + for i in range(4): cur_batch = next(data) print(exe.run(train_cp, feed=feeder.feed(cur_batch), -- GitLab