diff options
author | Tor Egge <Tor.Egge@online.no> | 2024-03-26 12:44:04 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2024-03-26 12:44:04 +0100 |
commit | e0c4e2e95a760863b6b7737a41fe58e3857b6486 (patch) | |
tree | a39f01dc4c54caa8cf74fb5253b6d4c93c46ed62 /config-model/src/test/java/com/yahoo/schema | |
parent | 32ad1a732962c9ea9d7b0693dfa880ef74e9ddd0 (diff) |
Add streaming search validator warnings for predicate and uri fields.
Diffstat (limited to 'config-model/src/test/java/com/yahoo/schema')
-rw-r--r-- | config-model/src/test/java/com/yahoo/schema/PredicateDataTypeTestCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/test/java/com/yahoo/schema/PredicateDataTypeTestCase.java b/config-model/src/test/java/com/yahoo/schema/PredicateDataTypeTestCase.java index 7b25c914c63..2ca597105d2 100644 --- a/config-model/src/test/java/com/yahoo/schema/PredicateDataTypeTestCase.java +++ b/config-model/src/test/java/com/yahoo/schema/PredicateDataTypeTestCase.java @@ -132,7 +132,7 @@ public class PredicateDataTypeTestCase { String sd = searchSd(predicateFieldSd("indexing: summary | index | attribute\nindex { arity: 2 }")); ApplicationBuilder.createFromString(sd); }); - assertTrue(exception.getMessage().contains("For schema 'p', field 'pf': Use 'attribute' instead of 'index'. This will require a refeed if you have upgraded.")); + assertTrue(exception.getMessage().contains("For schema 'p', field 'pf': Use 'attribute' instead of 'index'.")); } @Test @@ -141,7 +141,7 @@ public class PredicateDataTypeTestCase { String sd = searchSd(predicateFieldSd("indexing: summary | index \nindex { arity: 2 }")); ApplicationBuilder.createFromString(sd); }); - assertTrue(exception.getMessage().contains("For schema 'p', field 'pf': Use 'attribute' instead of 'index'. This will require a refeed if you have upgraded.")); + assertTrue(exception.getMessage().contains("For schema 'p', field 'pf': Use 'attribute' instead of 'index'.")); } |