Skip to content

Commit

Permalink
test: adjust expected duration of test
Browse files Browse the repository at this point in the history
  • Loading branch information
matmar10 committed Nov 10, 2021
1 parent 8fcad8a commit fff8354
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/cli/src/suites/customvalidator.suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ specs:
var body = JSON.parse(this.response.body);
if (body.key1 !== 'value1')
throw new Error("Value of key1 is not value1");

if (!this.response.duration || this.response.duration > 25)
throw new Error("Response duration is missing or greater than 25 ms");
if (!this.response.duration || this.response.duration > 100)
throw new Error("Response duration is missing or greater than 100 ms");
}

- name: inline custom validator async function
Expand Down

0 comments on commit fff8354

Please sign in to comment.