Skip to content

Commit

Permalink
try to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Sep 8, 2023
1 parent 5deed97 commit 15b4313
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 21 deletions.
28 changes: 7 additions & 21 deletions example/dev/local/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,17 @@ services:
depends_on:
- db
healthcheck:
test: ["CMD", "lsof", "-i", ":5556"]
test: [ "CMD", "lsof", "-i", ":5556" ]
interval: 3s
timeout: 10s
retries: 5
db:
image: postgres:13
environment:
POSTGRES_PASSWORD: xmtp

upload-service:
build: ./upload-service
ports:
- 4567:4567

caddy:
image: caddy:latest
ports:
- "443:443"
volumes:
- ./upload-service/Caddyfile:/etc/caddy/Caddyfile
- ./upload-service/data/data:/data
- ./upload-service/data/config:/config
# js:
# restart: always
# depends_on:
# wakunode:
# condition: service_healthy
# build: ./test
js:
restart: always
depends_on:
wakunode:
condition: service_healthy
build: ./test
3 changes: 3 additions & 0 deletions example/src/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ test("can stream messages", async () => {
throw Error("Unexpected convo message topic " + convoMessages[i].topic);
}
}
alice.conversations.cancelStream();
alice.conversations.cancelStreamAllMessages();

return true;
});

Expand Down

0 comments on commit 15b4313

Please sign in to comment.