Skip to content

Commit cd864fa

Browse files
authored
chore(migration): allow system tests to be migrated (googleapis#11704)
Internally, we recently decided to allow migration of a few system tests into this repository, until we have a better overall testing infrastructure in place.
1 parent 6e7745b commit cd864fa

2 files changed

Lines changed: 0 additions & 32 deletions

File tree

scripts/split_repo_migration/single-library.post-process.api-files.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -127,22 +127,6 @@ EOF
127127

128128
pushd "${PATH_MONOREPO}" >& /dev/null
129129

130-
## START system tests check ########################################
131-
# variable prefix: TST_*
132-
133-
# If there are integration tests, do not proceed with the script.
134-
135-
TST_MONO_TESTDIR="${MONOREPO_PATH_PACKAGE}/tests/"
136-
TST_MONO_SYSTEM_DIR="${TST_MONO_TESTDIR}system"
137-
TST_MONO_SYSTEM_FILE="${TST_MONO_TESTDIR}system.py"
138-
echo "Checking for system tests in ${TST_MONO_TESTDIR}"
139-
140-
[[ ! -f ${TST_MONO_SYSTEM_FILE} ]] || \
141-
{ echo "ERROR: ${TST_MONO_SYSTEM_FILE} exists. Need to manually deal with that." ; return -10 ; }
142-
[[ ! -d ${TST_MONO_SYSTEM_DIR} ]] || \
143-
{ echo "ERROR: ${TST_MONO_SYSTEM_DIR} exists. Need to manually deal with that." ; return -11 ; }
144-
## END system tests check
145-
146130
## START owlbot.yaml migration ########################################
147131
# variable prefix: OWY_*
148132
# FIXME: KEEP?

scripts/split_repo_migration/single-library.post-process.common-files.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -132,22 +132,6 @@ EOF
132132

133133
pushd "${PATH_MONOREPO}" >& /dev/null
134134

135-
## START system tests check ########################################
136-
# variable prefix: TST_*
137-
138-
# If there are integration tests, do not proceed with the script.
139-
140-
TST_MONO_TESTDIR="${MONOREPO_PATH_PACKAGE}/tests/"
141-
TST_MONO_SYSTEM_DIR="${TST_MONO_TESTDIR}system"
142-
TST_MONO_SYSTEM_FILE="${TST_MONO_TESTDIR}system.py"
143-
echo "Checking for system tests in ${TST_MONO_TESTDIR}"
144-
145-
[[ ! -f ${TST_MONO_SYSTEM_FILE} ]] || \
146-
{ echo "ERROR: ${TST_MONO_SYSTEM_FILE} exists. Need to manually deal with that." ; return -10 ; }
147-
[[ ! -d ${TST_MONO_SYSTEM_DIR} ]] || \
148-
{ echo "ERROR: ${TST_MONO_SYSTEM_DIR} exists. Need to manually deal with that." ; return -11 ; }
149-
## END system tests check
150-
151135
## START release-please config migration ########################################
152136
# variable prefix: RPC_*
153137

0 commit comments

Comments
 (0)