Skip to content

Commit 46f6cfd

Browse files
committed
fix some failures
1 parent 3b82c69 commit 46f6cfd

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/test-turbopack-rust-bench-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ env:
1717
TURBOPACK_BENCH_PROGRESS: '1'
1818
NODE_LTS_VERSION: 20
1919
TURBO_TEAM: 'vtest314-next-adapter-e2e-tests'
20+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
2021

2122
jobs:
2223
test:

test/integration/cli/test/index.test.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -831,9 +831,14 @@ describe('CLI Usage', () => {
831831

832832
test('-p reserved', async () => {
833833
const TCP_MUX_PORT = 1
834-
const { stderr, stdout } = await runAndCaptureOutput({
835-
port: TCP_MUX_PORT,
836-
})
834+
const { stderr, stdout } = await runNextCommand(
835+
[dirBasic, '-p', '' + TCP_MUX_PORT],
836+
{
837+
stdout: true,
838+
stderr: true,
839+
ignoreFail: true,
840+
}
841+
)
837842

838843
expect(stdout).toMatch('')
839844
expect(stderr).toMatch(

0 commit comments

Comments
 (0)