Skip to content

Commit 853eb9e

Browse files
chore(deps): bump EnricoMi/publish-unit-test-result-action from 2.17.0 to 2.17.1 (#542)
1 parent ab427ac commit 853eb9e

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/zxc-e2e-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
if-no-files-found: error
195195

196196
- name: Publish E2E Test Report
197-
uses: EnricoMi/publish-unit-test-result-action@567cc7f8dcea3eba5da355f6ebc95663310d8a07 # v2.17.0
197+
uses: EnricoMi/publish-unit-test-result-action@82082dac68ad6a19d980f8ce817e108b9f496c2a # v2.17.1
198198
if: ${{ steps.npm-deps.conclusion == 'success' && !cancelled() }}
199199
with:
200200
check_name: ${{ inputs.coverage-report-name }}

.github/workflows/zxc-unit-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ jobs:
7373
run: npm test
7474

7575
- name: Publish Windows Unit Test Report
76-
uses: EnricoMi/publish-unit-test-result-action/windows/bash@567cc7f8dcea3eba5da355f6ebc95663310d8a07 # v2.17.0
76+
uses: EnricoMi/publish-unit-test-result-action/windows/bash@82082dac68ad6a19d980f8ce817e108b9f496c2a # v2.17.1
7777
if: ${{ runner.os == 'Windows' && steps.npm-deps.conclusion == 'success' && !cancelled() }}
7878
with:
7979
check_name: 'Unit Test Results - ${{ runner.os }}'
8080
files: "junit.xml"
8181

8282
- name: Publish Linux Unit Test Report
83-
uses: EnricoMi/publish-unit-test-result-action@567cc7f8dcea3eba5da355f6ebc95663310d8a07 # v2.17.0
83+
uses: EnricoMi/publish-unit-test-result-action@82082dac68ad6a19d980f8ce817e108b9f496c2a # v2.17.1
8484
if: ${{ runner.os == 'linux' && steps.npm-deps.conclusion == 'success' && !cancelled() }}
8585
with:
8686
check_name: 'Unit Test Results - ${{ runner.os }}'

test/e2e/commands/cluster.test.mjs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
logging
3535
} from '../../../src/core/index.mjs'
3636
import { flags } from '../../../src/commands/index.mjs'
37-
import { getNodeLogs, sleep } from '../../../src/core/helpers.mjs'
37+
import { sleep } from '../../../src/core/helpers.mjs'
3838
import * as version from '../../../version.mjs'
3939

4040
describe('ClusterCommand', () => {
@@ -58,17 +58,19 @@ describe('ClusterCommand', () => {
5858

5959
const bootstrapResp = bootstrapTestVariables(testName, argv)
6060
const k8 = bootstrapResp.opts.k8
61-
const accountManager = bootstrapResp.opts.accountManager
6261
const configManager = bootstrapResp.opts.configManager
6362
const chartManager = bootstrapResp.opts.chartManager
6463

6564
const clusterCmd = bootstrapResp.cmd.clusterCmd
6665

6766
afterAll(async () => {
68-
await chartManager.isChartInstalled(constants.FULLSTACK_SETUP_NAMESPACE, constants.FULLSTACK_CLUSTER_SETUP_CHART)
69-
await getNodeLogs(k8, namespace)
7067
await k8.deleteNamespace(namespace)
71-
await accountManager.close()
68+
argv[flags.clusterSetupNamespace.name] = constants.FULLSTACK_SETUP_NAMESPACE
69+
configManager.update(argv, true)
70+
await clusterCmd.setup(argv) // restore fullstack-cluster-setup for other e2e tests to leverage
71+
do {
72+
await sleep(5000)
73+
} while (!await chartManager.isChartInstalled(constants.FULLSTACK_SETUP_NAMESPACE, constants.FULLSTACK_CLUSTER_SETUP_CHART))
7274
}, 180000)
7375

7476
beforeEach(() => {

0 commit comments

Comments
 (0)