Skip to content

Commit 4f9c021

Browse files
committed
fix common test
1 parent 684019f commit 4f9c021

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.kokoro/common_test.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
# limitations under the License.
1515

1616
scriptDir=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
17-
cd "${scriptDir}/../.." # cd to the root of this repo
17+
cd "${scriptDir}/.." # cd to the root of this repo
1818
source "$scriptDir/common.sh"
1919
mkdir -p target
2020
cd target
2121

2222
function test_find_all_poms_with_versioned_dependency {
2323
mkdir -p test_find_all_poms_with_dependency
2424
pushd test_find_all_poms_with_dependency
25-
cp ../../java-showcase/gapic-showcase/pom.xml pom.xml
25+
cp ../../sdk-platform-java/java-showcase/gapic-showcase/pom.xml pom.xml
2626

2727
find_all_poms_with_versioned_dependency 'truth'
2828
if [ "${#POMS[@]}" != 1 ]; then
@@ -45,7 +45,7 @@ function test_find_all_poms_with_versioned_dependency {
4545
function test_update_pom_dependency {
4646
mkdir -p test_update_pom_dependency
4747
pushd test_update_pom_dependency
48-
cp ../../java-showcase/gapic-showcase/pom.xml pom.xml
48+
cp ../../sdk-platform-java/java-showcase/gapic-showcase/pom.xml pom.xml
4949

5050
update_pom_dependency . truth "99.88.77"
5151

@@ -66,7 +66,7 @@ EOF
6666
function test_parse_pom_version {
6767
mkdir -p test_parse_pom_version
6868
pushd test_parse_pom_version
69-
cp ../../java-showcase/gapic-showcase/pom.xml pom.xml
69+
cp ../../sdk-platform-java/java-showcase/gapic-showcase/pom.xml pom.xml
7070

7171
VERSION=$(parse_pom_version .)
7272
if [ "$VERSION" != "0.0.1-SNAPSHOT" ]; then

0 commit comments

Comments
 (0)