Skip to content

Commit 3757782

Browse files
author
Shailesh Jagannath Padave
committed
Update ServiceRegistry test
1 parent 7bc7412 commit 3757782

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/core/__test__/ServiceRegistryClient.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe("ServiceRegistryClient", () => {
3535
const testServiceRegistry = {
3636
name: "test_service_registry",
3737
type: ServiceType.HTTP,
38-
serviceURI: "http://localhost:8081/api-docs",
38+
serviceURI: "http://httpbin:8081/api-docs",
3939
config: {
4040
circuitBreakerConfig: {
4141
failureRateThreshold: 50.0,
@@ -89,7 +89,7 @@ describe("ServiceRegistryClient", () => {
8989
const testServiceRegistry = {
9090
name: "test_service_registry_to_remove",
9191
type: ServiceType.HTTP,
92-
serviceURI: "http://localhost:8081"
92+
serviceURI: "http://httpbin:8081/api-docs"
9393
};
9494

9595
// Add service to cleanup list
@@ -121,7 +121,7 @@ describe("ServiceRegistryClient", () => {
121121
const testServiceRegistry = {
122122
name: "test_service_registry_with_method",
123123
type: ServiceType.HTTP,
124-
serviceURI: "http://localhost:8082"
124+
serviceURI: "http://httpbin:8081/api-docs"
125125
};
126126

127127
// Add service to cleanup list
@@ -175,7 +175,7 @@ describe("ServiceRegistryClient", () => {
175175
const testServiceRegistry = {
176176
name: "test_service_registry_discovery",
177177
type: ServiceType.HTTP,
178-
serviceURI: "http://localhost:8081/api-docs"
178+
serviceURI: "http://httpbin:8081/api-docs"
179179
};
180180

181181
// Add service to cleanup list
@@ -208,7 +208,7 @@ describe("ServiceRegistryClient", () => {
208208
const testServiceRegistry = {
209209
name: "test_gRPC_service_registry_discovery",
210210
type: ServiceType.gRPC,
211-
serviceURI: "localhost:50051"
211+
serviceURI: "grpcbin:50051"
212212
};
213213

214214
// Add service to cleanup list

0 commit comments

Comments
 (0)