diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 6cc8f35..d7eec64 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -165,8 +165,6 @@ jobs: npm run unit # Skipping integration until we can get native arm64 runners # npm run integration - - run: cat package.json - if: '!cancelled()' - name: Update modules cache uses: actions/cache/save@v4 # We always want to run this step even if the "test" step failed. diff --git a/tests/unit/loop-metrics.tap.js b/tests/unit/loop-metrics.tap.js index 3c5e36b..bff022e 100644 --- a/tests/unit/loop-metrics.tap.js +++ b/tests/unit/loop-metrics.tap.js @@ -51,7 +51,7 @@ tap.test('Loop Metrics', function (t) { // XXX Keep this as a timeout. On Node v4 it causes an extra period of idle // wait on IO due to a bug in timers. This time should not be counted in // the actual loop time because the process isn't doing anything. - setTimeout(spinner, 10) + setTimeout(spinner, 100) function spinner() { t.comment('spinning cpu...') @@ -59,7 +59,7 @@ tap.test('Loop Metrics', function (t) { while (Date.now() - start < SPIN_TIME) {} // Spin the CPU for 2 seconds. // Finally, wait another tick and then check the loop stats. - setTimeout(afterSpin, 10) + setTimeout(afterSpin, 100) } function afterSpin() {