fix: use http

This commit is contained in:
geffzhang 2019-01-30 08:04:48 +08:00
parent bd7e18ca42
commit 0afceb40f5
2 changed files with 3 additions and 8 deletions

View File

@ -1,10 +1,5 @@
using KubeClient;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Ocelot.DependencyInjection;
using Ocelot.ServiceDiscovery;
using System;
using System.Collections.Generic;
using System.Text;
namespace Ocelot.Provider.Kubernetes
{

View File

@ -37,9 +37,9 @@ namespace Ocelot.UnitTests.Kubernetes
{
_serviceName = "test";
_namespaces = "dev";
_port = 8500;
_port = 8001;
_kubeHost = "localhost";
_fakekubeServiceDiscoveryUrl = $"https://{_kubeHost}:{_port}";
_fakekubeServiceDiscoveryUrl = $"http://{_kubeHost}:{_port}";
_serviceEntries = new ServiceV1();
_factory = new Mock<IOcelotLoggerFactory>();
_clientFactory = new KubeApiClientFactory();