Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
busma13 committed Nov 1, 2023
1 parent ceafc80 commit 74103aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions e2e/test/teraslice-harness.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ module.exports = class TerasliceHarness {
} catch (err) {
if (process.env.TEST_PLATFORM === 'kubernetes') {
signale.debug('@@@ in catch of waitForExStatus');
signale.debug(await describeWorker());
signale.debug(await showState(HOST_IP));
signale.debug(await showTSMasterLogs());
signale.debug(await showTSExLogs());
Expand Down
5 changes: 3 additions & 2 deletions packages/scripts/src/helpers/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -816,9 +816,10 @@ export async function showTSWorkerLogs() {
}

export async function describeWorker() {
signale.debug('@@@ descripbeWorker');
const subprocess = await execa.command('kubectl -n ts-dev1 describe pod -l app.kubernetes.io/component=worker');
signale.debug(subprocess.stdout);
logger.debug(subprocess.stdout);
signale.debug(subprocess);
logger.debug(subprocess);
}

async function showAssets(hostIP: string) {
Expand Down

0 comments on commit 74103aa

Please sign in to comment.