[
https://issues.apache.org/jira/browse/BEAM-12733?focusedWorklogId=686018&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-686018
]
ASF GitHub Bot logged work on BEAM-12733:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 24/Nov/21 17:49
Start Date: 24/Nov/21 17:49
Worklog Time Spent: 10m
Work Description: ibzib commented on a change in pull request #15375:
URL: https://github.com/apache/beam/pull/15375#discussion_r756308977
##########
File path:
sdks/java/extensions/ml/src/test/java/org/apache/beam/sdk/extensions/ml/RecommendationAICatalogItemIT.java
##########
@@ -41,14 +46,17 @@
@RunWith(JUnit4.class)
public class RecommendationAICatalogItemIT {
- @Rule public TestPipeline testPipeline = TestPipeline.create();
+ @Rule public static TestPipeline testPipeline = TestPipeline.create();
+ static String projectId =
testPipeline.getOptions().as(GcpOptions.class).getProject();
Review comment:
```suggestion
private static String projectId =
testPipeline.getOptions().as(GcpOptions.class).getProject();
```
##########
File path:
sdks/java/extensions/ml/src/test/java/org/apache/beam/sdk/extensions/ml/RecommendationAICatalogItemIT.java
##########
@@ -92,6 +98,23 @@ public void importCatalogItems() {
testPipeline.run().waitUntilFinish();
}
+ @AfterClass
+ public static void tearDownAfterClass() throws Exception {
+ try (CatalogServiceClient catalogServiceClient =
CatalogServiceClient.create()) {
+ String parent = CatalogName.of("apache-beam-testing", "global",
"default_catalog").toString();
Review comment:
```suggestion
String parent = CatalogName.of(projectId, "global",
"default_catalog").toString();
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 686018)
Time Spent: 2h 20m (was: 2h 10m)
> [beam_PostCommit_Java]
> org.apache.beam.sdk.extensions.ml.RecommendationAIPredictIT.predict failing
> ---------------------------------------------------------------------------------------------------
>
> Key: BEAM-12733
> URL: https://issues.apache.org/jira/browse/BEAM-12733
> Project: Beam
> Issue Type: Task
> Components: test-failures
> Affects Versions: 2.33.0
> Reporter: Kiley Sok
> Priority: P2
> Labels: sickbay
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> Been failing since Aug 4th.
> https://ci-beam.apache.org/job/beam_PostCommit_Java/7880/
> {code:java}
> java.lang.AssertionError: RecommendationAIPredict/ParMultiDo(Predict).out0:
> null
> at
> org.apache.beam.sdk.testing.PAssert$PAssertionSite.capture(PAssert.java:175)
> at org.apache.beam.sdk.testing.PAssert.that(PAssert.java:417)
> at org.apache.beam.sdk.testing.PAssert.that(PAssert.java:409)
> at
> org.apache.beam.sdk.extensions.ml.RecommendationAIPredictIT.predict(RecommendationAIPredictIT.java:60)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)