[coll] Increase timeout for allgather test. (#9777)

This commit is contained in:
Jiaming Yuan
2023-11-09 05:26:40 +08:00
committed by GitHub
parent 44099f585d
commit 6fd4a30667
2 changed files with 3 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ class Worker : public WorkerForTest {
std::size_t n = 8192; // n_bytes = 8192 * sizeof(int)
std::vector<std::int32_t> data(comm_.World() * n, 0);
auto s_data = common::Span{data.data(), data.size()};
auto s_data = common::Span<std::int32_t>{data};
auto seg = s_data.subspan(comm_.Rank() * n, n);
std::iota(seg.begin(), seg.end(), comm_.Rank());