Skip to content

Commit

Permalink
Actually wait for the desired number of seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmlft committed Feb 2, 2024
1 parent 4103790 commit e71b42e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/scripts/check_ftps_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.
from pathlib import Path
from shutil import rmtree
from time import sleep

PARQUET_PATH = Path(__file__).parents[1] / "resources" / "omop"
print(f"parquet path: {PARQUET_PATH}")
Expand All @@ -34,6 +35,7 @@
print(f"Waited for {seconds} seconds. glob_list: {glob_list}")
if glob_list:
break
sleep(SECONDS_WAIT)

# Check for expected number of uploaded files and clean up, even if the assertion fails
try:
Expand Down

0 comments on commit e71b42e

Please sign in to comment.