Skip to content

Commit 6e677ee

Browse files
feat: debug e2e
1 parent 26e2cd6 commit 6e677ee

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/e2e.yml

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
run: |
4646
cp config/redis/.env.redis ./
4747
docker compose up -d
48+
docker ps -a
4849
- name: Build
4950
run: |
5051
npm ci

src/lib/redis/measurement-client.ts

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const initMeasurementRedisClient = async () => {
2424
};
2525

2626
export const createMeasurementRedisClient = (options?: Partial<RedisClusterOptions>): RedisClusterInternal => {
27+
console.log('redis.clusterMeasurements.nodes', config.get<{ [index: string]: string }>('redis.clusterMeasurements.nodes'));
2728
return createRedisClusterInternal({
2829
defaults: config.get<RedisClientOptions>('redis.sharedOptions'),
2930
rootNodes: Object.values(config.get<{ [index: string]: string }>('redis.clusterMeasurements.nodes')).map(url => ({ url })),

test/e2e/docker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class DockerManager {
134134
const containerInfo = containers.find(c => c.Names.includes(`/${name}`));
135135

136136
if (!containerInfo) {
137-
logger.warn('Container not found:');
137+
logger.warn('Container not found.', containers);
138138
return { container: null, state: null };
139139
}
140140

0 commit comments

Comments
 (0)