Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m30s
Foundation / checks (client) (push) Failing after 18m38s
Foundation / checks (network) (push) Successful in 22m21s
Foundation / checks (tsan) (push) Failing after 22m17s
Foundation / checks (postgres) (push) Successful in 51m32s
Foundation / checks (checks) (push) Failing after 59m20s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped
21 lines
890 B
CMake
21 lines
890 B
CMake
file(MAKE_DIRECTORY "${TEST_DIR}")
|
|
set(prefix "${TEST_DIR}/pair")
|
|
execute_process(COMMAND "${MIGRATION_TEST}" --record "${prefix}" RESULT_VARIABLE recorded)
|
|
if(NOT recorded EQUAL 0)
|
|
message(FATAL_ERROR "Migration trace preparation failed: ${recorded}")
|
|
endif()
|
|
execute_process(COMMAND "${MIGRATION_TEST}" --replay "${prefix}" RESULT_VARIABLE replayed)
|
|
if(NOT replayed EQUAL 0)
|
|
message(FATAL_ERROR "Fresh-process migration replay failed: ${replayed}")
|
|
endif()
|
|
foreach(representation raw pop)
|
|
foreach(side source destination)
|
|
execute_process(COMMAND "${CMAKE_COMMAND}" -E compare_files
|
|
"${prefix}.${representation}.${side}.expected"
|
|
"${prefix}.${representation}.${side}.resumed" RESULT_VARIABLE compared)
|
|
if(NOT compared EQUAL 0)
|
|
message(FATAL_ERROR "Migration ${representation}/${side} diverged across process replay")
|
|
endif()
|
|
endforeach()
|
|
endforeach()
|