Skip to content

test_download_directory fails when adding folders + subfolders with files in them.

Context

As described in this note when creating a more complicated directory structure in tests/cas/data/ and adding files to those directories, test_download_directory fails in tests/cas/test_client.py

Task Description

Unknown cause, possible issues could be in:

  • tests.utils.cas.Server.store_folder()
  • buildgrid.client.cas.Downloader.download_directory()
  • tests.utils.cas.Server.compare_directories()

mablanch/91-download-tree-test-error contains the state of the repo avaliable to reproduce the error.

Acceptance Criteria

Pass test_download_directory with a more complicated directory structure(folders with subfolders with files).