Skip to content

Commit

Permalink
test: Add a logger to print the instance id. (#1129)
Browse files Browse the repository at this point in the history
* Add a logger to print the instance id.

* Add cluster id logging
  • Loading branch information
danieljbruce authored Jul 18, 2022
1 parent 81ea5f7 commit 2005842
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system-test/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('Cluster', () => {
isConfigDefined: boolean
): Promise<void> {
// const cluster: Cluster = instance.cluster(clusterId);
console.log(`Cluster Id: ${cluster.id}`);
const metadata = await cluster.getMetadata({});
const {clusterConfig, serveNodes} = metadata[0];
assert.strictEqual(serveNodes, compareValues.nodes);
Expand Down Expand Up @@ -67,6 +68,7 @@ describe('Cluster', () => {
time_created: Date.now(),
},
});
console.log(`Test Instance Id: ${instanceId}`);
await operation.promise();
}
async function createStandardNewInstance(
Expand Down

0 comments on commit 2005842

Please sign in to comment.