You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/04/25 13:27:00 UTC
[jira] [Updated] (ARROW-5194) ][Plasma] TEST(PlasmaSerialization,
GetReply) is failing
[ https://issues.apache.org/jira/browse/ARROW-5194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney updated ARROW-5194:
--------------------------------
Summary: ][Plasma] TEST(PlasmaSerialization, GetReply) is failing (was: TEST(PlasmaSerialization, GetReply) is failing)
> ][Plasma] TEST(PlasmaSerialization, GetReply) is failing
> --------------------------------------------------------
>
> Key: ARROW-5194
> URL: https://issues.apache.org/jira/browse/ARROW-5194
> Project: Apache Arrow
> Issue Type: Test
> Components: C++ - Plasma
> Affects Versions: 0.13.0
> Reporter: Guillaume Horel
> Priority: Critical
>
> I believe the [assertions|https://github.com/apache/arrow/blob/master/cpp/src/plasma/test/serialization_tests.cc#L191] here are incorrect. You can't use memcmp to compare structs
> On my machine (64bits linux) int are 4 bytes, but the struct fields are 8 bytes aligned, so this line fails:
> ASSERT_EQ(memcmp(&plasma_objects[object_ids[0]], &plasma_objects_return[0],
> sizeof(PlasmaObject)),
> 0);
> even though the struct contents are the same.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)