Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assure thread affinity #1783

Merged

Commits on May 15, 2018

  1. Assure thread affinity

    Closes testng-team#89, testng-team#1050, testng-team#1066, testng-team#1173, testng-team#1185
    
    This PR aims at assuring that methods that fall
    under the below two use cases, all run on the 
    same thread when classes are being run in parallel:
    
    * @test methods in a class are ordered by priority
    * @test methods have a single dependency on 
    another method using “dependsOnMethods” attribute.
    
    The thread affinity feature is supposed to be 
    “experimental” and it can be turned on via the
    JVM argument : -Dtestng.thread.affinity=true
    
    This feature is turned off by default just to 
    ensure that we don’t have any users experiencing
    un-usual behavior.
    krmahadevan committed May 15, 2018
    Configuration menu
    Copy the full SHA
    5e6906a View commit details
    Browse the repository at this point in the history