diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2018-01-10 12:34:10 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2018-01-10 12:34:10 +0100 |
commit | fc3e000141fa6bca30231bc49ce472b01759304d (patch) | |
tree | f966bcad948a3ece4fe13fc2d074f3674203c29e /config-model/src/test | |
parent | 217674665ab15f15bbda2a2d2b49a3858ca1b319 (diff) |
Store warnings under the right output
Diffstat (limited to 'config-model/src/test')
-rw-r--r-- | config-model/src/test/java/com/yahoo/searchdefinition/processing/RankingExpressionWithTensorFlowTestCase.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/processing/RankingExpressionWithTensorFlowTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/processing/RankingExpressionWithTensorFlowTestCase.java index 5ad85ac872c..8fcd821adfd 100644 --- a/config-model/src/test/java/com/yahoo/searchdefinition/processing/RankingExpressionWithTensorFlowTestCase.java +++ b/config-model/src/test/java/com/yahoo/searchdefinition/processing/RankingExpressionWithTensorFlowTestCase.java @@ -91,8 +91,8 @@ public class RankingExpressionWithTensorFlowTestCase { fail("Expecting exception"); } catch (IllegalArgumentException expected) { - assertEquals("Rank profile 'my_profile' is invalid: Could not import tensorflow model from tensorflow('" + - modelDirectory + "','serving_defaultz'): Model does not have the specified signatures 'serving_defaultz'", + assertEquals("Rank profile 'my_profile' is invalid: Could not use tensorflow model from tensorflow('" + + modelDirectory + "','serving_defaultz'): Model does not have the specified signature 'serving_defaultz'", Exceptions.toMessageString(expected)); } } @@ -110,8 +110,8 @@ public class RankingExpressionWithTensorFlowTestCase { fail("Expecting exception"); } catch (IllegalArgumentException expected) { - assertEquals("Rank profile 'my_profile' is invalid: Could not import tensorflow model from tensorflow('" + - modelDirectory + "','serving_default','x'): Model does not have the specified outputs 'x'", + assertEquals("Rank profile 'my_profile' is invalid: Could not use tensorflow model from tensorflow('" + + modelDirectory + "','serving_default','x'): Model does not have the specified output 'x'", Exceptions.toMessageString(expected)); } } |