Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import logging
import os
import shutil
from dataclasses import dataclass
from pathlib import Path

from fastapi import FastAPI
from models_library.projects import ProjectID
from models_library.projects_nodes_io import NodeID
from pydantic import ByteSize, TypeAdapter, ValidationError
from servicelib.file_utils import remove_directory

from ..core.settings import ApplicationSettings, get_application_settings
from . import efs_manager_utils
Expand Down Expand Up @@ -153,7 +153,7 @@ async def remove_project_efs_data(self, project_id: ProjectID) -> None:
if Path.exists(_dir_path):
# Remove the directory and all its contents
try:
shutil.rmtree(_dir_path)
await remove_directory(_dir_path)
_logger.info("%s has been deleted.", _dir_path)
except FileNotFoundError:
_logger.exception("Directory %s does not exist.", _dir_path)
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e-playwright/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def log_in_and_out(
def _open_with_resources(page: Page, *, click_it: bool):
study_title_field = page.get_by_test_id("studyTitleField")
# wait until the title is automatically filled up
expect(study_title_field).not_to_have_value("")
expect(study_title_field).not_to_have_value("", timeout=30000)

open_with_resources_button = page.get_by_test_id("openWithResources")
if click_it:
Expand Down
Loading