public void OctopusCanDiscoverTentacle() { using (var octopus = new HalibutRuntime(services, Certificates.Octopus)) using (var tentacleListening = new HalibutRuntime(services, Certificates.TentacleListening)) { var tentaclePort = tentacleListening.Listen(); var info = octopus.Discover(new Uri("https://localhost:" + tentaclePort)); Assert.That(info.RemoteThumbprint, Is.EqualTo(Certificates.TentacleListeningPublicThumbprint)); } }
public void OctopusCanDiscoverTentacle() { var services = GetDelegateServiceFactory(); using (var octopus = new HalibutRuntime(services, Certificates.Octopus)) using (var tentacleListening = new HalibutRuntime(services, Certificates.TentacleListening)) { var tentaclePort = tentacleListening.Listen(); var info = octopus.Discover(new Uri("https://localhost:" + tentaclePort)); info.RemoteThumbprint.Should().Be(Certificates.TentacleListeningPublicThumbprint); } }