Skip to content

Commit

Permalink
feat: debug e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-yarmosh committed Jan 13, 2025
1 parent 26e2cd6 commit 6e677ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
run: |
cp config/redis/.env.redis ./
docker compose up -d
docker ps -a
- name: Build
run: |
npm ci
Expand Down
1 change: 1 addition & 0 deletions src/lib/redis/measurement-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const initMeasurementRedisClient = async () => {
};

export const createMeasurementRedisClient = (options?: Partial<RedisClusterOptions>): RedisClusterInternal => {
console.log('redis.clusterMeasurements.nodes', config.get<{ [index: string]: string }>('redis.clusterMeasurements.nodes'));
return createRedisClusterInternal({
defaults: config.get<RedisClientOptions>('redis.sharedOptions'),
rootNodes: Object.values(config.get<{ [index: string]: string }>('redis.clusterMeasurements.nodes')).map(url => ({ url })),
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class DockerManager {
const containerInfo = containers.find(c => c.Names.includes(`/${name}`));

if (!containerInfo) {
logger.warn('Container not found:');
logger.warn('Container not found.', containers);
return { container: null, state: null };
}

Expand Down

0 comments on commit 6e677ee

Please sign in to comment.