Skip to content

Commit

Permalink
updated version for local tests to use v0.58.3
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <[email protected]>
  • Loading branch information
jeromy-cannon committed Jan 17, 2025
1 parent 56edd7f commit 6cf34ff
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/e2e/commands/node_local_hedera.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {Duration} from '../../../src/core/time/duration.js';
import {type NodeCommand} from '../../../src/commands/node/index.js';
import {type AccountCommand} from '../../../src/commands/account.js';
import {type AccountManager} from '../../../src/core/account_manager.js';
import {LOCAL_HEDERA_PLATFORM_VERSION} from '../../../version.js';

const LOCAL_HEDERA = 'local-hedera-app';
const argv = getDefaultArgv();
Expand All @@ -43,6 +44,7 @@ let hederaK8: K8;
console.log('Starting local build for Hedera app');
argv[flags.localBuildPath.name] = 'node1=../hedera-services/hedera-node/data/,../hedera-services/hedera-node/data';
argv[flags.namespace.name] = LOCAL_HEDERA;
argv[flags.releaseTag.name] = LOCAL_HEDERA_PLATFORM_VERSION;

e2eTestSuite(
LOCAL_HEDERA,
Expand Down
2 changes: 2 additions & 0 deletions test/e2e/commands/node_local_ptt.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {Flags as flags} from '../../../src/commands/flags.js';
import {e2eTestSuite, getDefaultArgv, TEST_CLUSTER} from '../../test_util.js';
import {Duration} from '../../../src/core/time/duration.js';
import {type K8} from '../../../src/core/k8.js';
import {LOCAL_HEDERA_PLATFORM_VERSION} from '../../../version.js';

const LOCAL_PTT = 'local-ptt-app';
const argv = getDefaultArgv();
Expand All @@ -37,6 +38,7 @@ argv[flags.app.name] = 'PlatformTestingTool.jar';
argv[flags.appConfig.name] =
'../hedera-services/platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/resources/FCMFCQ-Basic-2.5k-5m.json';
argv[flags.namespace.name] = LOCAL_PTT;
argv[flags.releaseTag.name] = LOCAL_HEDERA_PLATFORM_VERSION;

e2eTestSuite(LOCAL_PTT, argv, undefined, undefined, undefined, undefined, undefined, undefined, true, bootstrapResp => {
describe('Node for platform app should start successfully', () => {
Expand Down
4 changes: 3 additions & 1 deletion test/test_add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import * as NodeCommandConfigs from '../src/commands/node/configs.js';
import type {NodeAlias} from '../src/types/aliases.js';
import type {NetworkNodeServices} from '../src/core/network_node_services.js';
import {Duration} from '../src/core/time/duration.js';
import {LOCAL_HEDERA_PLATFORM_VERSION} from '../version.js';

const defaultTimeout = Duration.ofMinutes(2).toMillis();

Expand All @@ -48,7 +49,8 @@ export function testNodeAdd(
argv[flags.generateTlsKeys.name] = true;
// set the env variable SOLO_CHARTS_DIR if developer wants to use local Solo charts
argv[flags.chartDirectory.name] = process.env.SOLO_CHARTS_DIR ?? undefined;
argv[flags.releaseTag.name] = HEDERA_PLATFORM_VERSION_TAG;
argv[flags.releaseTag.name] =
!localBuildPath || localBuildPath === '' ? HEDERA_PLATFORM_VERSION_TAG : LOCAL_HEDERA_PLATFORM_VERSION;
argv[flags.namespace.name] = namespace;
argv[flags.force.name] = true;
argv[flags.persistentVolumeClaims.name] = true;
Expand Down
1 change: 1 addition & 0 deletions version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
export const HELM_VERSION = 'v3.14.2';
export const SOLO_CHART_VERSION = '0.42.10';
export const HEDERA_PLATFORM_VERSION = 'v0.59.0-main.x5322bdc';
export const LOCAL_HEDERA_PLATFORM_VERSION = 'v0.58.3';
export const MIRROR_NODE_VERSION = '0.120.1';
export const HEDERA_EXPLORER_VERSION = '0.2.1';
export const HEDERA_JSON_RPC_RELAY_VERSION = 'v0.63.2';

0 comments on commit 6cf34ff

Please sign in to comment.