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

chia7712 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 f9ff85cd [YUNIKORN-2219] compareQueueTS could get incorrect queue 
since it always request root queue (#741)
f9ff85cd is described below

commit f9ff85cd4d8a51f2830a8bff2aab13dba4794765
Author: Kuan-Po Tseng <[email protected]>
AuthorDate: Mon Dec 4 21:58:26 2023 +0800

    [YUNIKORN-2219] compareQueueTS could get incorrect queue since it always 
request root queue (#741)
    
    Reviewers: Chia-Ping Tsai <[email protected]>
---
 test/e2e/framework/helpers/yunikorn/rest_api_utils.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/e2e/framework/helpers/yunikorn/rest_api_utils.go 
b/test/e2e/framework/helpers/yunikorn/rest_api_utils.go
index 972087af..dc7e4079 100644
--- a/test/e2e/framework/helpers/yunikorn/rest_api_utils.go
+++ b/test/e2e/framework/helpers/yunikorn/rest_api_utils.go
@@ -326,7 +326,7 @@ func (c *RClient) GetQueue(partition string, queueName 
string) (*dao.PartitionQu
 func compareQueueTS(queuePathStr string, ts string) wait.ConditionFunc {
        return func() (bool, error) {
                restClient := RClient{}
-               qInfo, err := restClient.GetQueue(DefaultPartition, "root")
+               qInfo, err := restClient.GetQueue(DefaultPartition, 
queuePathStr)
                if err != nil {
                        return false, err
                }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to