You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by pb...@apache.org on 2023/12/04 15:00:22 UTC

(yunikorn-k8shim) branch master updated: [YUNIKORN-2232] Fix state aware scheduling e2e test (#743)

This is an automated email from the ASF dual-hosted git repository.

pbacsko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git


The following commit(s) were added to refs/heads/master by this push:
     new ddb2d8ae [YUNIKORN-2232] Fix state aware scheduling e2e test (#743)
ddb2d8ae is described below

commit ddb2d8aea64fa4d920807d3a7ab0980e40bea5db
Author: Manikandan R <ma...@gmail.com>
AuthorDate: Mon Dec 4 16:00:09 2023 +0100

    [YUNIKORN-2232] Fix state aware scheduling e2e test (#743)
    
    Closes: #743
    
    Signed-off-by: Peter Bacsko <pb...@cloudera.com>
---
 test/e2e/framework/helpers/common/test_queues_configs.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/e2e/framework/helpers/common/test_queues_configs.go b/test/e2e/framework/helpers/common/test_queues_configs.go
index 45fd20df..20884d9e 100644
--- a/test/e2e/framework/helpers/common/test_queues_configs.go
+++ b/test/e2e/framework/helpers/common/test_queues_configs.go
@@ -90,10 +90,10 @@ func SetSchedulingPolicy(sc *configs.SchedulerConfig, partition string, queuePat
 			if err != nil {
 				return err
 			}
-			if q.Properties == nil {
-				q.Properties = map[string]string{}
+			if q.ChildTemplate.Properties == nil {
+				q.ChildTemplate.Properties = map[string]string{}
 			}
-			q.Properties["application.sort.policy"] = policy
+			q.ChildTemplate.Properties["application.sort.policy"] = policy
 			return nil
 		}
 	}


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org