Skip to content

Commit

Permalink
Environment variable fixes. (#1728)
Browse files Browse the repository at this point in the history
Signed-off-by: ebadiere <ebadiere@gmail.com>
  • Loading branch information
ebadiere authored Sep 8, 2023
1 parent f28b721 commit 24b48c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/server/tests/acceptance/cacheService.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { Registry } from 'prom-client';
const registry = new Registry();
const Redis = require('ioredis');

const { hostname, port } = new URL(process.env.REDIS_URL || '');
const { hostname, port } = new URL(process.env.REDIS_URL || 'redis://127.0.0.1:6379');
const redis = new Redis({
port: port,
host: hostname,
Expand Down
2 changes: 1 addition & 1 deletion packages/server/tests/acceptance/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe('RPC Server Acceptance Tests', function () {
// set env variables for docker images until local-node is updated
process.env['NETWORK_NODE_IMAGE_TAG'] = '0.41.0-alpha.3';
process.env['HAVEGED_IMAGE_TAG'] = '0.41.0-alpha.3';
process.env['MIRROR_IMAGE_TAG'] = 'main';
process.env['MIRROR_IMAGE_TAG'] = '0.88.0-beta2';

console.log(
`Docker container versions, services: ${process.env['NETWORK_NODE_IMAGE_TAG']}, mirror: ${process.env['MIRROR_IMAGE_TAG']}`,
Expand Down

0 comments on commit 24b48c4

Please sign in to comment.