mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
Try to fix socket length exceeded issue on Travis-CI
This commit is contained in:
1 parent
74dcf50be4
commit
b56f32cd14
4 files changed
+5
-5
No files matched your search
@@ -795,7 +795,7 @@ Status TemporaryDir::Make(const std::string& prefix, std::unique_ptr<TemporaryDi
|
||||
bfs::path path;
|
||||
|
||||
BOOST_FILESYSTEM_TRY
|
||||
auto model = bfs::path(prefix + "%%%%-%%%%-%%%%-%%%%");
|
||||
auto model = bfs::path(prefix + "%%%%%%%%%%");
|
||||
path = bfs::temp_directory_path() / bfs::unique_path(model);
|
||||
path += "/";
|
||||
BOOST_FILESYSTEM_CATCH
|
||||
|
||||
@@ -55,7 +55,7 @@ class TestPlasmaStore : public ::testing::Test {
|
||||
// stdout of the object store. Consider changing that.
|
||||
|
||||
void SetUp() {
|
||||
ARROW_CHECK_OK(TemporaryDir::Make("plasma-client-tests-", &temp_dir_));
|
||||
ARROW_CHECK_OK(TemporaryDir::Make("cli-test-", &temp_dir_));
|
||||
store_socket_name_ = temp_dir_->path().ToString() + "store";
|
||||
|
||||
std::string plasma_directory =
|
||||
|
||||
@@ -54,8 +54,8 @@ class TestPlasmaStoreWithExternal : public ::testing::Test {
|
||||
// TODO(pcm): At the moment, stdout of the test gets mixed up with
|
||||
// stdout of the object store. Consider changing that.
|
||||
void SetUp() override {
|
||||
ARROW_CHECK_OK(TemporaryDir::Make("plasma-client-tests-", &temp_dir_));
|
||||
store_socket_name_ = temp_dir_->path().ToString() + "store_with_external";
|
||||
ARROW_CHECK_OK(TemporaryDir::Make("ext-test-", &temp_dir_));
|
||||
store_socket_name_ = temp_dir_->path().ToString() + "store";
|
||||
|
||||
std::string plasma_directory =
|
||||
external_test_executable.substr(0, external_test_executable.find_last_of('/'));
|
||||
|
||||
@@ -72,7 +72,7 @@ PlasmaObject random_plasma_object(void) {
|
||||
|
||||
class TestPlasmaSerialization : public ::testing::Test {
|
||||
public:
|
||||
void SetUp() { ARROW_CHECK_OK(TemporaryDir::Make("plasma-ser-tests-", &temp_dir_)); }
|
||||
void SetUp() { ARROW_CHECK_OK(TemporaryDir::Make("ser-test-", &temp_dir_)); }
|
||||
|
||||
// Create a temporary file.
|
||||
// A fd is returned which must be closed manually. The file itself
|
||||
|
||||
Reference in new issue
Block a user