In Field Service lightning, while fixing the overlap between service appointments , Leave on Gantt and set In-jeopardy option is not marking the service appointment in jeopardy flag, but the appointments remains in the gantt
Without the screenshot of your issue, it is hard to answer the question. However if the appointments are not being marked In-Jeopardy and they remain on the Gantt chart, it appears the optimizer was able to find space without breaking any of the work rules configured. Thus it was able to schedule your appointments without issue or it remained on the current service resources without needing to shift to satisfy your conditions.
Try putting a resource absence over one of the service resources and see if those jobs gets reshuffled (if there is someone else with the proper skills to take on the job). Otherwise it will remain and be marked with an In-Jeopardy marker.