After TestNG 6.10 there are many things broken in later releases. That is one of the reason we continue supporting 6.10.
TestNG-#2170 is one of them which is with 7.x versions and not previous ones.
Alternate is, you can try using @Priority (com.qmetry.qaf.automation.testng.Priority). Actually in earlier releases of TestNG when priority was not in-built feature in testng, QAF was supporting it with @Priority custom annotation.
બુધવાર, 21 જુલાઈ, 2021ના રોજ 05:32:36 PM UTC-7 વાગ્યે user26 દ્વારા આમ લખવામાં આવ્યું હતું: