Skip to content

Commit

Permalink
chore: relax regex for waiting docker container start
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Nov 30, 2023
1 parent 7ff3dd0 commit f45ca33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/examples-cases/with-proxy-no-websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const startVite = async () => {
await waitUntilOutput(
dockerComposeProcess,
'stdout',
/Attaching to .+-caddy-\d+, .+-vite-\d+/,
/Attaching to (?:.+-)?caddy-\d+, (?:.+-)?vite-\d+/,
{ timeout: 30000 } // pulling image might take long
)
await waitUntilOutput(
Expand Down
2 changes: 1 addition & 1 deletion tests/examples-cases/with-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const startVite = async () => {
await waitUntilOutput(
dockerComposeProcess,
'stdout',
/Attaching to .+-caddy-\d+, .+-vite-\d+/,
/Attaching to (?:.+-)?caddy-\d+, (?:.+-)?vite-\d+/,
{ timeout: 30000 } // pulling image might take long
)
await waitUntilOutput(
Expand Down

0 comments on commit f45ca33

Please sign in to comment.