Skip to content

Increase rwc js verification timeout #22191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/harness/rwcRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace RWC {
});

it("can compile", function(this: Mocha.ITestCallbackContext) {
this.timeout(800000); // Allow long timeouts for RWC compilations
this.timeout(800_000); // Allow long timeouts for RWC compilations
let opts: ts.ParsedCommandLine;

const ioLog: IoLog = Playback.newStyleLogIntoOldStyleLog(JSON.parse(Harness.IO.readFile(`internal/cases/rwc/${jsonPath}/test.json`)), Harness.IO, `internal/cases/rwc/${baseName}`);
Expand Down Expand Up @@ -171,7 +171,7 @@ namespace RWC {


it("has the expected emitted code", function(this: Mocha.ITestCallbackContext) {
this.timeout(10000); // Allow long timeouts for RWC js verification
this.timeout(100_000); // Allow longer timeouts for RWC js verification
Harness.Baseline.runMultifileBaseline(baseName, "", () => {
return Harness.Compiler.iterateOutputs(compilerResult.files);
}, baselineOpts, [".js", ".jsx"]);
Expand Down