mirror of
https://github.com/wassname/ray.git
synced 2026-07-18 12:40:56 +08:00
[Streaming] Test build fixed (#10617)
This commit is contained in:
@@ -87,11 +87,7 @@ class StreamingQueueTestBase : public ::testing::TestWithParam<uint64_t> {
|
||||
args.emplace_back(new TaskArgByValue(std::make_shared<RayObject>(
|
||||
msg.ToBytes(), nullptr, std::vector<ObjectID>(), true)));
|
||||
std::unordered_map<std::string, double> resources;
|
||||
<<<<<<< HEAD
|
||||
TaskOptions options(0, resources);
|
||||
=======
|
||||
TaskOptions options{"", 0, resources};
|
||||
>>>>>>> 6a78ba9752dc7f17b0e4b7423898c0facf777d3d
|
||||
std::vector<ObjectID> return_ids;
|
||||
RayFunction func{ray::Language::PYTHON,
|
||||
ray::FunctionDescriptorBuilder::BuildPython("", "", "init", "")};
|
||||
@@ -107,7 +103,7 @@ class StreamingQueueTestBase : public ::testing::TestWithParam<uint64_t> {
|
||||
args.emplace_back(new TaskArgByValue(
|
||||
std::make_shared<RayObject>(buffer, nullptr, std::vector<ObjectID>(), true)));
|
||||
std::unordered_map<std::string, double> resources;
|
||||
TaskOptions options(0, resources);
|
||||
TaskOptions options("", 0, resources);
|
||||
std::vector<ObjectID> return_ids;
|
||||
RayFunction func{ray::Language::PYTHON, ray::FunctionDescriptorBuilder::BuildPython(
|
||||
"", test, "execute_test", "")};
|
||||
@@ -123,11 +119,7 @@ class StreamingQueueTestBase : public ::testing::TestWithParam<uint64_t> {
|
||||
args.emplace_back(new TaskArgByValue(
|
||||
std::make_shared<RayObject>(buffer, nullptr, std::vector<ObjectID>(), true)));
|
||||
std::unordered_map<std::string, double> resources;
|
||||
<<<<<<< HEAD
|
||||
TaskOptions options(1, resources);
|
||||
=======
|
||||
TaskOptions options{"", 1, resources};
|
||||
>>>>>>> 6a78ba9752dc7f17b0e4b7423898c0facf777d3d
|
||||
std::vector<ObjectID> return_ids;
|
||||
RayFunction func{ray::Language::PYTHON, ray::FunctionDescriptorBuilder::BuildPython(
|
||||
"", "", "check_current_test_status", "")};
|
||||
|
||||
Reference in New Issue
Block a user