You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ke...@apache.org on 2017/10/11 19:26:05 UTC
[09/12] beam git commit: Improve error message when
standard_coders.yaml not found
Improve error message when standard_coders.yaml not found
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/7fa37fd9
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/7fa37fd9
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/7fa37fd9
Branch: refs/heads/master
Commit: 7fa37fd9b5225d83d8df8ee26043d78aba9bb1b5
Parents: 80c6f4e
Author: Kenneth Knowles <kl...@google.com>
Authored: Mon Oct 9 19:33:21 2017 -0700
Committer: Kenneth Knowles <kl...@google.com>
Committed: Wed Oct 11 09:56:39 2017 -0700
----------------------------------------------------------------------
.../src/test/java/org/apache/beam/sdk/coders/CommonCoderTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam/blob/7fa37fd9/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/CommonCoderTest.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/CommonCoderTest.java b/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/CommonCoderTest.java
index 8adc08c..d50bc0a 100644
--- a/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/CommonCoderTest.java
+++ b/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/CommonCoderTest.java
@@ -130,7 +130,7 @@ public class CommonCoderTest {
private static List<OneCoderTestSpec> loadStandardCodersSuite() throws IOException {
InputStream stream = CommonCoderTest.class.getResourceAsStream(STANDARD_CODERS_YAML_PATH);
if (stream == null) {
- fail("null stream");
+ fail("Could not load standard coder specs as resource:" + STANDARD_CODERS_YAML_PATH);
}
// Would like to use the InputStream directly with Jackson, but Jackson does not seem to