vchunikhin commented on code in PR #22792:
URL: https://github.com/apache/beam/pull/22792#discussion_r958349513


##########
playground/backend/cmd/server/controller_test.go:
##########
@@ -863,7 +863,7 @@ func TestPlaygroundController_SaveSnippet(t *testing.T) {
                                t.Errorf("PlaygroundController_SaveSnippet() 
error = %v, wantErr %v", err, tt.wantErr)
                        }
                        if err == nil {
-                               if len(got.Id) != 11 || got.Id != tt.wantId {
+                               if len(got.Id) != 11 {

Review Comment:
   It's the length of the identifier that is used to store snippets in the 
Cloud Datastore. It's appropriate length to save storage size in the Cloud 
Datastore and provide good randomnicity. This parameter stores in the 
playground/backend/properties.yaml file



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to