Skip to content

Commit

Permalink
checking logs before starting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
silkroadnomad committed Dec 21, 2024
1 parent 8cb7ee3 commit f1de2db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ jobs:
run: |
echo "🔍 Checking Docker Containers..."
docker compose -f "docker-compose-test.yml" ps
- name: Running-Tests
- name: Check Relay Service Logs
run: |
echo "🔍 Checking Relay Service Logs..."
docker compose -f docker-compose-test.yml logs relay-service | grep "listening"
- name: Running-Tests
run: |
echo "🧪 Running tests..."
docker compose -f docker-compose-test.yml exec relay-service npm test
1 change: 1 addition & 0 deletions relay/src/pubsubHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TextEncoder, TextDecoder } from 'util';
import logger from './logger.js';
import { getLastNameOps } from "./pinner/nameOpsFileManager.js";
import { formatFileSize } from './utils.js';
import moment from 'moment';

export function setupPubsub(helia, orbitdb, pinningService, electrumClient, fsHelia, CONTENT_TOPIC) {
helia.libp2p.services.pubsub.subscribe(CONTENT_TOPIC);
Expand Down

0 comments on commit f1de2db

Please sign in to comment.