Skip to content

Commit 72393b8

Browse files
authored
chore: fix sidecars e2e test (#5556)
fix tests
1 parent dd7f30c commit 72393b8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

e2e/sidecars/sidecars_test.go

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ image:
3434
nginx: start
3535
env_file: ./magic.env
3636
37+
platform: linux/x86_64
38+
3739
http:
3840
# Requests to this path will be forwarded to your service.
3941
# To match all requests you can use the "/" path.
@@ -48,12 +50,12 @@ cpu: 256
4850
memory: 512
4951
# Number of tasks that should be running in your service.
5052
count: 1
51-
5253
sidecars:
5354
nginx:
5455
port: 80
5556
image:
56-
build: nginx/Dockerfile
57+
build: nginx/Dockerfile
58+
context: ./nginx
5759
variables:
5860
NGINX_PORT: 80
5961
env_file: ./magic.env
@@ -157,10 +159,10 @@ var _ = Describe("sidecars flow", func() {
157159
)
158160
BeforeAll(func() {
159161
_, svcInitErr = cli.SvcInit(&client.SvcInitRequest{
160-
Name: svcName,
161-
SvcType: "Load Balanced Web Service",
162-
Dockerfile: "./hello/Dockerfile",
163-
SvcPort: "3000",
162+
Name: svcName,
163+
SvcType: "Load Balanced Web Service",
164+
Image: mainImageURI,
165+
SvcPort: "3000",
164166
})
165167
})
166168

0 commit comments

Comments
 (0)