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 <[email protected]>
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 <[email protected]>
---
 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to