Try to fix socket length exceeded issue on Travis-CI

This commit is contained in:
Antoine Pitrou committed 2019-05-21 19:09:42 +02:00
1 parent 74dcf50be4
commit b56f32cd14
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 =
+2 -2
View File
@@ -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('/'));
+1 -1
View File
@@ -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