Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DATA-671-fix] Set file extension in upload requests; actually test metadata in sync_test. #1710

Merged
merged 2 commits into from
Dec 27, 2022

Conversation

AaronCasas
Copy link
Contributor

We weren't setting file extension, so all binary captures we're being saved as mime_type octet stream. This fixes that. Also fixes/adds the metadata testing to avoid this in the future.

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Dec 27, 2022
@AaronCasas AaronCasas requested a review from agreenb December 27, 2022 22:10
@@ -497,15 +498,23 @@ func compareSensorData(t *testing.T, dataType v1.DataType, act []*v1.SensorData,
return
}

//TODO: metadata checks fail because these don't get uploaded in a defined order. should prob use sets instead
// of arrays. For now, just don't check metadata
// Sort both by time requested.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Dec 27, 2022
@AaronCasas AaronCasas merged commit d0887aa into viamrobotics:main Dec 27, 2022
@AaronCasas AaronCasas deleted the data-671-fix branch December 27, 2022 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants