Skip to content

Commit 832cab8

Browse files
committed
remove test code
1 parent 1dfc021 commit 832cab8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

paddle/fluid/distributed/test/graph_node_test.cc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,14 @@ void RunBrpcPushSparse() {
220220

221221
pull_status.wait();
222222
std::vector<std::vector<std::pair<uint64_t, float>>> vs;
223-
for (int i = 0; i < 100000000; i++) {
224-
std::vector<distributed::GraphNode> nodes;
225-
pull_status = worker_ptr_->pull_graph_list(0, 0, 0, 1, nodes);
226-
pull_status.wait();
227-
pull_status =
228-
worker_ptr_->batch_sample(0, std::vector<uint64_t>(1, 37), 4, vs);
229-
pull_status.wait();
230-
}
223+
// for(int i = 0;i < 100000000;i++){
224+
// std::vector<distributed::GraphNode> nodes;
225+
// pull_status = worker_ptr_->pull_graph_list(0, 0, 0, 1, nodes);
226+
// pull_status.wait();
227+
// pull_status = worker_ptr_->batch_sample(0, std::vector<uint64_t>(1, 37), 4,
228+
// vs);
229+
// pull_status.wait();
230+
// }
231231
// std::vector<std::pair<uint64_t, float>> v;
232232
// pull_status = worker_ptr_->sample(0, 37, 4, v);
233233
pull_status =

0 commit comments

Comments
 (0)