Conversation
|
@emersonknapp - please run this CI job |
emersonknapp
left a comment
There was a problem hiding this comment.
I wonder if we should just disable this test for 32 bit platform. It doesn't feel correct to say that these maxed out values are actually a tebi/pebibyte in the first place. Thoughts?
I agree with that part, it is very odd to say this. But actually, this is problematic in other ways. First of all, this should have nothing to do with address space size; this is formatting for a file size, and there is no reason you can't have a 1 TiB file on 32-bit armhf. The real problem looks to be in the API. It is using a |
I didn't realize that, thanks for pointing it out! Will change it in the next commit. |
Fixes for unit test failures from armhf builds. Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>
b35f812 to
f417700
Compare
|
@clalancette please take a look agian, thanks! |
Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>
|
@Karsten1987 could you please review these changes and let us know what you think about changing member variable types from |
|
I agree, having |
So for the |
I agree with that reasoning. For the sake of fixing unit test failures in the nightlies, we could merge this PR as is and create a new one to change variable types (and bump up the version?) |
I'd prefer not to do that; it will be too easy to forget about this problem once it is "hidden" with this PR merged. @prajakta-gokhale Please make the changes to BagMetadata switching the size_t -> uint64_t, and bumping the version. @Karsten1987 can then review, and if he still disagrees with the version bump it's just a one-line change. |
Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>
|
@Karsten1987 I have changed the variable types and bumped up |
Karsten1987
left a comment
There was a problem hiding this comment.
Changes look good to me (with green CI)
@prajakta-gokhale please let me know if you want me to test something specifically.
|
@Karsten1987 we're happy with this - if you are too let's get this merged - I think this is the final PR for |
Fix rosbag2_transport unit test failures on armhf.
Related to armhf tier-2 support fixes: ros2/ros2#721
Fixes unit test failure reported here.
Signed-off-by: Prajakta Gokhale prajaktg@amazon.com