Skip to content

Commit

Permalink
[ZAP] Do not use assertSameTestType in examples/chip-tool/templates/t…
Browse files Browse the repository at this point in the history
…ests/partials/checks/maybeCheckExpectedConstraints.zapt as it make the generation extremely slow (#22770)
  • Loading branch information
vivien-apple authored and pull[bot] committed Dec 6, 2023
1 parent c44d8e7 commit f67085b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/zap_templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
zap_templates:
name: ZAP templates generation
timeout-minutes: 120
timeout-minutes: 90

runs-on: ubuntu-20.04
container:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
{{~#if (isStrEqual constraint "hasValue")}}
{{~! Already handled above~}}
{{~else if (isStrEqual constraint "type")}}
{{~assertSameTestType (asTestType ../type ../isArray) value~}}
VerifyOrReturn(CheckConstraintType("{{asPropertyValue context=..}}", "{{asTestType ../type ../isArray}}", "{{value}}"));
{{~else if (isStrEqual constraint "format")}}VerifyOrReturn(CheckConstraintFormat("{{asPropertyValue context=..}}", "", "{{value}}"));

Expand Down

0 comments on commit f67085b

Please sign in to comment.