Skip to content

Commit

Permalink
chore: fix sidecars e2e test (#5556)
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
Lou1415926 authored Dec 13, 2023
1 parent dd7f30c commit 72393b8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions e2e/sidecars/sidecars_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ image:
nginx: start
env_file: ./magic.env
platform: linux/x86_64
http:
# Requests to this path will be forwarded to your service.
# To match all requests you can use the "/" path.
Expand All @@ -48,12 +50,12 @@ cpu: 256
memory: 512
# Number of tasks that should be running in your service.
count: 1
sidecars:
nginx:
port: 80
image:
build: nginx/Dockerfile
build: nginx/Dockerfile
context: ./nginx
variables:
NGINX_PORT: 80
env_file: ./magic.env
Expand Down Expand Up @@ -157,10 +159,10 @@ var _ = Describe("sidecars flow", func() {
)
BeforeAll(func() {
_, svcInitErr = cli.SvcInit(&client.SvcInitRequest{
Name: svcName,
SvcType: "Load Balanced Web Service",
Dockerfile: "./hello/Dockerfile",
SvcPort: "3000",
Name: svcName,
SvcType: "Load Balanced Web Service",
Image: mainImageURI,
SvcPort: "3000",
})
})

Expand Down

0 comments on commit 72393b8

Please sign in to comment.