Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Attempt fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Aug 6, 2024
1 parent 7f75823 commit f75dfdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-cache.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: "Build and cache nix packages"
name: "Build and cache zomes"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-and-cache-nix-packages:
build-and-cache-zomes:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
Expand Down
5 changes: 4 additions & 1 deletion tests/src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ export function patchCallZome(appWs: AppWebsocket) {
const result = await callZome(req);
return result;
} catch (e) {
if (!e.toString().includes('Socket is not open')) {
if (
!e.toString().includes('Socket is not open') &&
!e.toString().includes('ClientClosedWithPendingRequests')
) {
throw e;
}
}
Expand Down

0 comments on commit f75dfdf

Please sign in to comment.