You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public void before() {
mock = crudMode
? new KubernetesMockServer(new Context(), new MockWebServer(), new HashMap<ServerRequest, Queue<ServerResponse>>(), new KubernetesCrudDispatcher(), true)
: new KubernetesMockServer(https);
mock.init();
client = mock.createClient();
}
When constructing a KubernetesServer JUnit rule you can specify a value for crudMode and https, but if you specify crudMode=true then the value for https is not used when creating the KubernetesMockServer so it will always be https enabled.
The text was updated successfully, but these errors were encountered:
coopstah13
pushed a commit
to coopstah13/kubernetes-client
that referenced
this issue
Aug 6, 2020
When using the KubernetesServer JUnit rule in crud mode the KubernetesMockServer is using a hardcoded value of true for https instead of using the value of https provided to the JUnit rule.
coopstah13
pushed a commit
to coopstah13/kubernetes-client
that referenced
this issue
Aug 6, 2020
When using the KubernetesServer JUnit rule in crud mode the KubernetesMockServer is using a hardcoded value of true for https instead of using the value of https provided to the JUnit rule.
See here
When constructing a KubernetesServer JUnit rule you can specify a value for crudMode and https, but if you specify crudMode=true then the value for https is not used when creating the KubernetesMockServer so it will always be https enabled.
The text was updated successfully, but these errors were encountered: