From 36fdae7c6590a85586280145568ad1c5edb48b3d Mon Sep 17 00:00:00 2001 From: Adam0Brien Date: Mon, 2 Dec 2024 12:49:33 +0000 Subject: [PATCH 1/3] Add grpc url --- deploy/kind/e2e/e2e-batch.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy/kind/e2e/e2e-batch.yaml b/deploy/kind/e2e/e2e-batch.yaml index a4f7755a..473ae5b9 100644 --- a/deploy/kind/e2e/e2e-batch.yaml +++ b/deploy/kind/e2e/e2e-batch.yaml @@ -26,6 +26,8 @@ spec: env: - name: INV_HTTP_URL value: "kessel-inventory-service:8081" + - name: INV_GRPC_URL + value: "kessel-inventory-service:9081" - name: KAFKA_BOOTSTRAP_SERVERS value: "my-cluster-kafka-bootstrap:9092" command: ["/usr/local/bin/e2e-inventory-tests", "-test.v"] From 96baa2f073174cdc343f7e56f42e9647c930ed3f Mon Sep 17 00:00:00 2001 From: Adam0Brien Date: Mon, 2 Dec 2024 13:18:09 +0000 Subject: [PATCH 2/3] test --- deploy/kind/e2e/e2e-batch.yaml | 2 +- test/e2e/{ => grpc}/inventory_http_test.go | 2 +- test/e2e/{grpc => }/inventory_grpc_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename test/e2e/{ => grpc}/inventory_http_test.go (99%) rename test/e2e/{grpc => }/inventory_grpc_test.go (99%) diff --git a/deploy/kind/e2e/e2e-batch.yaml b/deploy/kind/e2e/e2e-batch.yaml index 473ae5b9..c4df72f5 100644 --- a/deploy/kind/e2e/e2e-batch.yaml +++ b/deploy/kind/e2e/e2e-batch.yaml @@ -1,7 +1,7 @@ apiVersion: batch/v1 kind: Job metadata: - name: e2e-inventory-http-tests + name: inventory-e2e-tests spec: completions: 1 backoffLimit: 0 diff --git a/test/e2e/inventory_http_test.go b/test/e2e/grpc/inventory_http_test.go similarity index 99% rename from test/e2e/inventory_http_test.go rename to test/e2e/grpc/inventory_http_test.go index a9be7f96..2df59bde 100644 --- a/test/e2e/inventory_http_test.go +++ b/test/e2e/grpc/inventory_http_test.go @@ -1,4 +1,4 @@ -package e2e +package grpc import ( "context" diff --git a/test/e2e/grpc/inventory_grpc_test.go b/test/e2e/inventory_grpc_test.go similarity index 99% rename from test/e2e/grpc/inventory_grpc_test.go rename to test/e2e/inventory_grpc_test.go index caacb6d7..607b664d 100644 --- a/test/e2e/grpc/inventory_grpc_test.go +++ b/test/e2e/inventory_grpc_test.go @@ -1,4 +1,4 @@ -package grpc +package e2e import ( "context" From 935a33b3c46b18b2968d4ac643aab5d9512b1cf2 Mon Sep 17 00:00:00 2001 From: Adam0Brien Date: Mon, 2 Dec 2024 13:24:49 +0000 Subject: [PATCH 3/3] test --- deploy/kind/e2e/e2e-batch.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/kind/e2e/e2e-batch.yaml b/deploy/kind/e2e/e2e-batch.yaml index c4df72f5..473ae5b9 100644 --- a/deploy/kind/e2e/e2e-batch.yaml +++ b/deploy/kind/e2e/e2e-batch.yaml @@ -1,7 +1,7 @@ apiVersion: batch/v1 kind: Job metadata: - name: inventory-e2e-tests + name: e2e-inventory-http-tests spec: completions: 1 backoffLimit: 0