beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (BEAM-4014) Migrate MavenInstall Jenkins PostCommits to Gradle
Date Mon, 09 Apr 2018 21:34:00 GMT

     [ https://issues.apache.org/jira/browse/BEAM-4014?focusedWorklogId=89143&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-89143
]

ASF GitHub Bot logged work on BEAM-4014:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Apr/18 21:33
            Start Date: 09/Apr/18 21:33
    Worklog Time Spent: 10m 
      Work Description: lukecwik closed pull request #5066: [BEAM-4014] Fix class path for
examplesJavaIntegrationTest, also fix conversion error from DateTime that independently broke
PostCommit.
URL: https://github.com/apache/beam/pull/5066
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/runners/google-cloud-dataflow-java/build.gradle b/runners/google-cloud-dataflow-java/build.gradle
index 179b71c01e2..059069c2c82 100644
--- a/runners/google-cloud-dataflow-java/build.gradle
+++ b/runners/google-cloud-dataflow-java/build.gradle
@@ -174,7 +174,7 @@ task examplesJavaIntegrationTest(type: Test) {
   exclude '**/WordCountIT.class'
   exclude '**/WindowedWordCountIT.class'
   maxParallelForks 4
-  classpath = configurations.googleCloudPlatformIntegrationTest
+  classpath = configurations.examplesJavaIntegrationTest
   testClassesDirs = files(project(":beam-examples-java").sourceSets.test.output.classesDirs)
   useJUnit { }
 }
diff --git a/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableWriteIT.java
b/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableWriteIT.java
index f7f05e9a6b4..010bcc40590 100644
--- a/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableWriteIT.java
+++ b/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableWriteIT.java
@@ -40,6 +40,7 @@
 import java.io.IOException;
 import java.io.Serializable;
 import java.util.ArrayList;
+import java.util.Date;
 import java.util.List;
 import org.apache.beam.sdk.Pipeline;
 import org.apache.beam.sdk.extensions.gcp.options.GcpOptions;
@@ -50,7 +51,6 @@
 import org.apache.beam.sdk.transforms.ParDo;
 import org.apache.beam.sdk.values.KV;
 import org.hamcrest.Matchers;
-import org.joda.time.DateTime;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
@@ -72,7 +72,7 @@
   private static BigtableSession session;
   private static BigtableTableAdminClient tableAdminClient;
   private final String tableId =
-      String.format("BigtableWriteIT-%tF-%<tH-%<tM-%<tS-%<tL", DateTime.now());
+      String.format("BigtableWriteIT-%tF-%<tH-%<tM-%<tS-%<tL", new Date());
   private String project;
 
   @Before


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 89143)
    Time Spent: 2h  (was: 1h 50m)

> Migrate MavenInstall Jenkins PostCommits to Gradle
> --------------------------------------------------
>
>                 Key: BEAM-4014
>                 URL: https://issues.apache.org/jira/browse/BEAM-4014
>             Project: Beam
>          Issue Type: Sub-task
>          Components: build-system, testing
>            Reporter: Henning Rohde
>            Assignee: Luke Cwik
>            Priority: Major
>             Fix For: Not applicable
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message