yangwwei commented on a change in pull request #172:
URL: 
https://github.com/apache/incubator-yunikorn-core/pull/172#discussion_r443757231



##########
File path: pkg/cache/queue_info_test.go
##########
@@ -425,6 +425,8 @@ func TestGetQueueInfos(t *testing.T) {
        assert.NilError(t, err, "failed to create queue: %v", err)
        err = parent.IncAllocatedResource(parentUsed, false)
        assert.NilError(t, err, "failed to increment allocated resource: %v", 
err)
+       parent.properties = make(map[string]string)
+       parent.properties[configs.ApplicationSortPolicy] = "fifo"

Review comment:
       The UT is verifying the properties set in the parent level.
   Can we add some more UT for this, including:
   - add multiple properties in leaf queue
   - test coverage with unmanaged queues' properties (see more in 
https://github.com/apache/incubator-yunikorn-core/pull/163)
   - test no properties set for any of the queues




----------------------------------------------------------------
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.

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


Reply via email to