diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-06-23 10:00:18 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-06-23 10:00:18 +0200 |
commit | 8d1451224710fa7a65e9a7410113c64c104a8dd0 (patch) | |
tree | a6f12ad954bfa900f64f5f3c0f4b43a0aa2bcb70 /config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java | |
parent | ed7bc94c5c184b1dc735d8db4f95894102cd46f2 (diff) |
Add feature falg for controlling onnx dryrun verification.
Diffstat (limited to 'config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java')
-rw-r--r-- | config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java b/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java index fe1bf93f32b..c62dc6e4631 100644 --- a/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java +++ b/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java @@ -63,6 +63,7 @@ public class TestProperties implements ModelContext.Properties, ModelContext.Fea private int maxMergeQueueSize = 1024; private int largeRankExpressionLimit = 0x10000; private boolean allowDisableMtls = true; + private boolean dryRunOnnxOnSetup = false; private List<X509Certificate> operatorCertificates = Collections.emptyList(); @Override public ModelContext.FeatureFlags featureFlags() { return this; } @@ -107,7 +108,12 @@ public class TestProperties implements ModelContext.Properties, ModelContext.Fea @Override public int largeRankExpressionLimit() { return largeRankExpressionLimit; } @Override public int maxConcurrentMergesPerNode() { return maxConcurrentMergesPerNode; } @Override public int maxMergeQueueSize() { return maxMergeQueueSize; } + @Override public boolean dryRunOnnxOnSetup() { return dryRunOnnxOnSetup; } + public TestProperties setDryRunOnnxOnSetup(boolean value) { + dryRunOnnxOnSetup = value; + return this; + } public TestProperties useExternalRankExpression(boolean value) { useExternalRankExpression = value; return this; |