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

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

                Author: ASF GitHub Bot
            Created on: 17/May/18 17:00
            Start Date: 17/May/18 17:00
    Worklog Time Spent: 10m 
      Work Description: pabloem closed pull request #5395: [BEAM-4331] Disable 
integrationTest task caching
URL: https://github.com/apache/beam/pull/5395
 
 
   

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/build_rules.gradle b/build_rules.gradle
index 190c323c2b8..019140cb0e5 100644
--- a/build_rules.gradle
+++ b/build_rules.gradle
@@ -955,6 +955,9 @@ ext.enableJavaPerformanceTesting = {
 
   // Task for running integration tests
   task integrationTest(type: Test) {
+    // Disable Gradle cache (it should not be used because the IT's won't run).
+    outputs.upToDateWhen { false }
+
     include "**/*IT.class"
     systemProperties.beamTestPipelineOptions = 
configuration.integrationTestPipelineOptions
   }


 

----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 102985)
    Time Spent: 50m  (was: 40m)

> integrationTest task should not be cached by Gradle
> ---------------------------------------------------
>
>                 Key: BEAM-4331
>                 URL: https://issues.apache.org/jira/browse/BEAM-4331
>             Project: Beam
>          Issue Type: Bug
>          Components: testing
>            Reporter: Łukasz Gajowy
>            Assignee: Łukasz Gajowy
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> integrationTest task is a Gradle task used to run the IOITs in Beam. Perfkit 
> uses exactly this task to determine what was the run time of a particular 
> IOIT test. When the task is cached by Gradle the PerfKit results won't 
> reflect the actual run time but only the cached task execution time which is 
> not what we want in Performance Testing Framework.



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

Reply via email to