File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed
Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "comment" : " Modify this file in a trivial way to cause this test suite to run." ,
3- "modification" : 36
3+ "modification" : 37
44}
55
Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one or more
3+ # contributor license agreements. See the NOTICE file distributed with
4+ # this work for additional information regarding copyright ownership.
5+ # The ASF licenses this file to You under the Apache License, Version 2.0
6+ # (the "License"); you may not use this file except in compliance with
7+ # the License. You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+ #
17+
18+ redis>=5.0.0,<6
Original file line number Diff line number Diff line change @@ -575,7 +575,7 @@ task tftTests {
575575task mockAPITests {
576576 dependsOn ' initializeForDataflowJob'
577577 dependsOn ' :sdks:python:sdist'
578-
578+ def requirementsFile = " ${ rootDir } /sdks/python/apache_beam/transforms/enrichment_tests_requirements.txt "
579579 doLast {
580580 def testOpts = basicTestOpts
581581 def argMap = [
@@ -584,11 +584,12 @@ task mockAPITests {
584584 " runner" : " TestDataflowRunner" ,
585585 " project" : " apache-beam-testing" ,
586586 " region" : " us-west1" ,
587+ " requirements_file" : " $requirementsFile "
587588 ]
588589 def cmdArgs = mapToArgString(argMap)
589590 exec {
590591 executable ' sh'
591- args ' -c' , " . ${ envdir} /bin/activate && ${ runScriptsDir} /run_integration_test.sh $cmdArgs "
592+ args ' -c' , " . ${ envdir} /bin/activate && pip install -r $r equirementsFile && ${ runScriptsDir} /run_integration_test.sh $cmdArgs "
592593 }
593594 }
594595}
You can’t perform that action at this time.
0 commit comments