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

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

                Author: ASF GitHub Bot
            Created on: 21/May/20 18:35
            Start Date: 21/May/20 18:35
    Worklog Time Spent: 10m 
      Work Description: udim commented on a change in pull request #11661:
URL: https://github.com/apache/beam/pull/11661#discussion_r428838484



##########
File path: sdks/python/test-suites/dataflow/common.gradle
##########
@@ -109,4 +109,21 @@ task validatesRunnerStreamingTests {
       args '-c', ". ${envdir}/bin/activate && 
${runScriptsDir}/run_integration_test.sh $cmdArgs"
     }
   }
-}
\ No newline at end of file
+}
+
+task runPerformanceTest {
+    dependsOn 'installGcpTest'
+    dependsOn ':sdks:python:sdist'
+
+    def test = project.findProperty('test')
+    def testOpts = project.findProperty('test-pipeline-options')
+    testOpts += " 
--sdk_location=${files(configurations.distTarBall.files).singleFile}"
+
+  doLast {
+    exec {
+      workingDir "${project.rootDir}/sdks/python"
+      executable 'sh'
+      args '-c', ". ${envdir}/bin/activate && ${envdir}/bin/python setup.py 
nosetests --tests=${test}  --test-pipeline-options=\"${testOpts}\" 
--ignore-files \'.*py3\\d?\\.py\$\'"

Review comment:
       I don't believe we have `--test-pipeline-options` support yet in pytest, 
so nose is the solution for now.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 436149)
    Time Spent: 40m  (was: 0.5h)

> Stop usign Perfkit Benchmarker tool in Python performance tests
> ---------------------------------------------------------------
>
>                 Key: BEAM-7774
>                 URL: https://issues.apache.org/jira/browse/BEAM-7774
>             Project: Beam
>          Issue Type: Sub-task
>          Components: testing
>            Reporter: Lukasz Gajowy
>            Assignee: Piotr Szuberski
>            Priority: P2
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to