Skip to content

Commit

Permalink
Only add additional properties to minio_storage test if it is included
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper-friis committed Jan 16, 2025
1 parent 6f46457 commit 01af4be
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,19 @@ if(FORCE_EXAMPLES OR EXISTS ${CMAKE_INSTALL_PREFIX}/share/dlite/examples)
SKIP_RETURN_CODE 44)
endforeach()


# Special properties on minio_storage for not hanging when the MinIO
# playground is not responding or when the storage is full
set_property(TEST minio_storage APPEND PROPERTY
ENVIRONMENT "TIMEOUT=5"
)
set_property(TEST minio_storage PROPERTY
SKIP_REGULAR_EXPRESSION "(XMinioStorageFull)|(subprocess.TimeoutExpired)"
)

endif()


# Special properties on minio_storage for not hanging when the MinIO
# playground is not responding or when the storage is full
set_property(TEST minio_storage APPEND PROPERTY
ENVIRONMENT "TIMEOUT=5"
)
set_property(TEST minio_storage PROPERTY
SKIP_REGULAR_EXPRESSION "(XMinioStorageFull)|(subprocess.TimeoutExpired)"
)



Expand Down

0 comments on commit 01af4be

Please sign in to comment.