[ 
https://issues.apache.org/jira/browse/YUNIKORN-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei Huang updated YUNIKORN-1703:
--------------------------------
    Description: 
At 
[https://github.com/apache/yunikorn-k8shim/blob/36040b40c50776e2200f51a85acbfc80aecd99f1/pkg/shim/scheduler.go#L80,]
 testMode is hard-coded to false, I think it should honor the testMode value 
set in configs:
 
{{apiFactory := client.NewAPIFactory(scheduler, informerFactory, configs, 
configs.TestMode)}}

  was:
At 
[https://github.com/apache/yunikorn-k8shim/blob/36040b40c50776e2200f51a85acbfc80aecd99f1/pkg/shim/scheduler.go#L80,]
 testMode is hard-coded to false, I think we should honor the testMode value in
configs:
 
{{apiFactory := client.NewAPIFactory(scheduler, informerFactory, configs, 
configs.TestMode)}}


> testMode is hardcoded to false in NewShimSchedulerForPlugin()
> -------------------------------------------------------------
>
>                 Key: YUNIKORN-1703
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1703
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: shim - kubernetes
>            Reporter: Wei Huang
>            Priority: Trivial
>
> At 
> [https://github.com/apache/yunikorn-k8shim/blob/36040b40c50776e2200f51a85acbfc80aecd99f1/pkg/shim/scheduler.go#L80,]
>  testMode is hard-coded to false, I think it should honor the testMode value 
> set in configs:
>  
> {{apiFactory := client.NewAPIFactory(scheduler, informerFactory, configs, 
> configs.TestMode)}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to