Repeat failed appium tests

Hi folks,

I would like to retry a test that has failed. I tried using the @RepeatedTest annotation from Junit, and it does repeat the test, but it does not create a new Appium session, which is not helpful
Does anyone have an idea?


my favourite testNG with retry listener. tons examples in google.
for jUnit i looks similar ->