Fix cyclic dependency between ray/util and ray/common (#7581)

* Fix cyclic dependency

Headers in ray/util should not depend on those in ray/common

* Move random generations to ray/common/test_util.h

* Add license header

Co-authored-by: Mehrdad <noreply@github.com>
Co-authored-by: Philipp Moritz <pcmoritz@gmail.com>
This commit is contained in:
mehrdadn
2020-03-14 12:44:53 -07:00
committed by GitHub
co-authored by Mehrdad Philipp Moritz
parent ffeab5d2bf
commit a87199d240
22 changed files with 151 additions and 92 deletions
+4 -6
View File
@@ -1,17 +1,15 @@
#define BOOST_BIND_NO_PLACEHOLDERS
#include "ray/core_worker/context.h"
#include "ray/core_worker/core_worker.h"
#include "src/ray/util/test_util.h"
#include "data_reader.h"
#include "data_writer.h"
#include "gtest/gtest.h"
#include "message/message.h"
#include "message/message_bundle.h"
#include "queue/queue_client.h"
#include "ray/common/test_util.h"
#include "ray/core_worker/context.h"
#include "ray/core_worker/core_worker.h"
#include "ring_buffer.h"
#include "status.h"
#include "gtest/gtest.h"
using namespace std::placeholders;
const uint32_t MESSAGE_BOUND_SIZE = 10000;