Skip to content

Commit

Permalink
fix: clear req cache when unit start running 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Jun 6, 2021
1 parent cd66e1d commit ef45bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default class Runner {
if (first) {
await this.session.saveValue(testcase, "$run", {}, false);
}
const ctx = await this.session.getCtx(testcase);
const ctx = await this.session.getCtx(testcase, true);
const run: CaseRun = createRun(testcase, ctx);
if (run) await this.session.saveValue(testcase, "run", run);
if (!this.options.dryRun && run) {
Expand Down

0 comments on commit ef45bf2

Please sign in to comment.