From 2666d624eb71fb79ed91d9e341b4e8be5f4396a1 Mon Sep 17 00:00:00 2001 From: Vayle <76063792+Valorith@users.noreply.github.com> Date: Sun, 8 Mar 2026 20:51:07 -0400 Subject: [PATCH] Update zone/cli/tests/cli_zone_state.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- zone/cli/tests/cli_zone_state.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zone/cli/tests/cli_zone_state.cpp b/zone/cli/tests/cli_zone_state.cpp index 040cbd49e..f7de11b38 100644 --- a/zone/cli/tests/cli_zone_state.cpp +++ b/zone/cli/tests/cli_zone_state.cpp @@ -1013,6 +1013,10 @@ inline void TestClientBuffPersistenceRollback() "CHANGE `suppressed_bkp` `suppressed` tinyint(1) unsigned NOT NULL DEFAULT 0" ); RunTest("Client Buff Persistence > Rollback: column restore succeeded", true, restore_result.Success()); + if (!restore_result.Success()) { + // Fail fast to avoid running further tests with a broken schema + return; + } // Pre-existing rows must still be present because the transaction was rolled back const auto rows_after = CharacterBuffsRepository::GetWhere(