Skip to content

Commit

Permalink
Don't run webdrivers at the same time.
Browse files Browse the repository at this point in the history
We have had flaky runs. Maybe this helps.
  • Loading branch information
floitsch committed Jan 3, 2025
1 parent 2972d95 commit fcf6697
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ foreach(file ${TESTS})
COMMAND "${TOIT_EXEC}" "-Xenable-asserts" "${file}" "${browser}"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
# Webdriver tests share the same resource.
set_tests_properties("${test_name}" PROPERTIES RESOURCE_LOCK webdriver)
set_tests_properties("${test_name}" PROPERTIES TIMEOUT ${TEST_TIMEOUT})
endforeach()
else()
Expand Down

0 comments on commit fcf6697

Please sign in to comment.