-
Notifications
You must be signed in to change notification settings - Fork 113
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
RSDK-2240 Remove Temp Endpoints from SLAM #2141
RSDK-2240 Remove Temp Endpoints from SLAM #2141
Conversation
@@ -115,15 +115,15 @@ func TestClientWorkingService(t *testing.T) { | |||
test.That(t, spatial.PoseAlmostEqual(poseSucc, pose), test.ShouldBeTrue) | |||
test.That(t, componentRef, test.ShouldEqual, componentRefSucc) | |||
|
|||
// test get point cloud map stream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional removal, I'm in favor to keep pattern with server tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is fine, we have a ticket to make server tests into individual t.runs, which should probably include these tests too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with john. Lets address client tests not being in t.Runs in the ticket he linked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[note to self] we took out the word "stream" everywhere that we aren't specifically testing the streaming aspect of the api
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but to be clear these changes are blocked by the app bump right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, assuming it is not merged until https://github.com/viamrobotics/app/pull/1358 is on production
@@ -115,15 +115,15 @@ func TestClientWorkingService(t *testing.T) { | |||
test.That(t, spatial.PoseAlmostEqual(poseSucc, pose), test.ShouldBeTrue) | |||
test.That(t, componentRef, test.ShouldEqual, componentRefSucc) | |||
|
|||
// test get point cloud map stream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[note to self] we took out the word "stream" everywhere that we aren't specifically testing the streaming aspect of the api
This PR removes the last links to the temporary endpoints created during Map Representation. These include:
The only place these still existed was in the
server.go
file and its associated tests, although a few comments were also updated in theclient_test.go
.Predominantly, the only places stream still exists are in the client/server tests which are comparing testing unary and streaming calls and the comments in
slam.go
/grpchelper.go
associated with the concatenation functions.Examples:
If you believe these should change leave a comment below
JIRA Ticket: https://viam.atlassian.net/browse/RSDK-2240