Code review comment: I've now replaced this with a `RestAssured.get("/")` call to trigger the application restart (I am not aware of any better way to do this) and instead verify the response to `GET /flyway/current-version` inside the Awaitility assertion.

Code under review:
public void testRepairUsingDevMode() {
        String version = RestAssured.get("/flyway/current-version").then().statusCode(200).extract().asString();
        assertEquals("1.0.0", version);

        config.clearLogRecords();
        config.modifyResourceFile("db/migration/V1.0.0__Quarkus.sql", s -> s + "\nalter table FRUIT add column color VARCHAR;");
        config.modifyResourceFile("application.properties", s -> s + "\nquarkus.flyway.validate-on-migrate=true");

        RestAssured.get("/flyway/current-version").thenReturn();
        await().atMost(30, TimeUnit.SECONDS).untilAsserted(() -> {
            assertThat(config.getLogRecords()).anySatisfy(r -> {
                assertThat(r.getMessage()).contains("Failed to start application");
                assertThat(r.getThrown().getMessage()).contains("Migration checksum mismatch for migration version 1.0.0");
            });
        });

        config.clearLogRecords();
        config.modifyResourceFile("application.properties", s -> s + "\nquarkus.flyway.repair-at-start=true");

        RestAssured.get("/flyway/current-version").thenReturn();
        await().atMost(30, TimeUnit.SECONDS).untilAsserted(() -> {
            assertThat(config.getLogRecords()).anySatisfy(
                    r -> assertThat(r.getMessage()).contains("Successfully repaired schema history table"));
        });
    }

Line commented on: RestAssured.get("/flyway/current-version").thenReturn();

Revised code:
public void testRepairUsingDevMode() {
        assertThat(RestAssured.get("/flyway/current-version").then().statusCode(200).extract().asString()).isEqualTo("1.0.0");

        config.clearLogRecords();
        config.modifyResourceFile("db/migration/V1.0.0__Quarkus.sql", s -> s + "\nNONSENSE STATEMENT CHANGING CHECKSUM;");
        config.modifyResourceFile("application.properties", s -> s + "\nquarkus.flyway.validate-on-migrate=true");

        
        RestAssured.get("/");

        await().atMost(30, TimeUnit.SECONDS).untilAsserted(() -> {
            assertThat(config.getLogRecords()).anySatisfy(r -> {
                assertThat(r.getMessage()).contains("Failed to start application");
                assertThat(r.getThrown().getMessage()).contains("Migration checksum mismatch for migration version 1.0.0");
            });
            RestAssured.get("/flyway/current-version").then().statusCode(500);
        });

        config.clearLogRecords();
        config.modifyResourceFile("application.properties", s -> s + "\nquarkus.flyway.repair-at-start=true");

        
        RestAssured.get("/");

        await().atMost(30, TimeUnit.SECONDS).untilAsserted(() -> {
            assertThat(config.getLogRecords()).anySatisfy(
                    r -> assertThat(r.getMessage()).contains("Successfully repaired schema history table"));
            assertThat(RestAssured.get("/flyway/current-version").then().statusCode(200).extract().asString())
                    .isEqualTo("1.0.0");
        });
    }